beginLogin
Starts the OAuth login flow.
Resolves the handle/DID to an authorization server via the AT Protocol discovery chain.
Generates PKCE verifier + challenge (S256).
Generates a fresh DPoP EC P-256 keypair.
Pushes a PAR request (handling the expected
use_dpop_nonce401 → retry cycle transparently).Returns the authorization URL to open in a browser.
Return
The authorization URL to open in a Custom Tab or system browser.
Parameters
handleOrDid
The user's handle (e.g. "alice.bsky.social") or DID.