Prepare a social login
Non-custodial accounts are available in sandbox only. Production non-custodial accounts are on the roadmap.
Starts a social login for an end user of a non-custodial account. Returns a nonce and a state value for your application to pass to the identity provider. The login request expires at expiresAt.
The Digital Asset Accounts SDK builds this request on the device. Your backend relay adds your API key and forwards it. This call doesn’t need a device signature.
Retrying with the same idempotencyKey and body returns the same login request.
Authorizations
Body
Public key of a temporary P-256 key that the Digital Asset Accounts SDK generates on the device for this login. The SDK uses the matching private key to sign the X-Registration-Flow-Authorization header on device registration.
122"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE6datWbQ0kQFkT9lH_qz1su-2nvHaOIuCfQnh3w_tNntxJQOob8_kRkV7_wuoVz7dPVXqDaSXLd2cugsh7LncOA"
PKCE S256 code challenge: the unpadded base64url SHA-256 digest of a code verifier that the SDK keeps on the device. The SDK sends the verifier as registrationCodeVerifier on device registration.
^[A-Za-z0-9_-]{43}$"XQIzp2Sp4JusoBuOrVNfjyRaLeIniaVB-vJa2NV4ttQ"