Is getSession not supposed to work with OAuth?
#3528
snarfed
started this conversation in
Protocol (atproto)
Replies: 1 comment 1 reply
|
We currently don't have a way to get a user's info when they are logged in through OAuth. This is a known limitation and it is in our backlog for the next quarter. Sorry for the inconvenience. Note The technical reason is that sessions are not managed by the PDS, but rather by the "entryway". Because of that, the PDS will not handle |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi all! I'm finishing up an OAuth client implementation, and I noticed that I can use a DPoP token with most authed XRPC endpoints, but not
com.atproto.server.getSession. I get HTTP 400 DPoP requests cannot be proxied. Looks like this is expected:I'm not sure how to interpret that. I'm not trying to proxy anything; I'm making the
getSessioncall directly to my PDS, eghttps://enoki.us-east.host.bsky.network/xrpc/com.atproto.server.getSession. IsgetSessionjust not supported with OAuth? If not, is there a recommended way to get the current session's status, DID, etc?Thanks in advance!
All reactions