atproto made easy crates.io/crates/jacquard

oauth example error #16

Closed nonbinary.computer
Closed opened by nonbinary.computer

While trying out auth example, when I paste the callback url after login, I get error:

http://127.0.0.1/?state=---&iss=https%3A%2F%2Fbsky.social&code=cod----

Error: Diagnostic { message: "XRPC error: Object(Object({"error": String(String("InvalidToken")), "message": String(String("OAuth tokens are meant for PDS access only"))}))", code: "jacquard_common::xrpc::typed" } NOTE: If you're looking for the fancy error reports, install miette with the fancy feature, or write your own and hook it up with miette::set_hook().

good catch. i had the loopback feature enabled when testing that example, didn't check the 'paste the callback url' as closely as i should. will fix soon

Sign up or Sign in to add to the discussion.