The redirect target for the atproto OAuth authorization flow. Bluesky's authorization server redirects the user's browser here after they approve (or deny) the connection request.On success this endpoint:
1.
Exchanges the authorization code for tokens via the atproto library
2.
Fetches the user's Bluesky profile (handle, display name, avatar)
3.
Creates or updates the SocialAccount record
4.
Renders an HTML success page that closes the popup and notifies the dashboard via a WebSocket event
This endpoint is reached by the user's browser (popup redirect), not by your app directly.
Request
Authorization
Query Params
Responses
🟢200
text/html
HTML success page — account connected, popup closes automatically