A better Rust ATProto crate

oauth example error #16

open
opened by netology.tngl.sh

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 login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:b4sujryiw6ffhpnqyz2kgjnt/sh.tangled.repo.issue/3m4km7tyk5i22