Getting the Tokens
Getting an access token from Cotter's SDK is as easy as setting a variable to `true`.
Last updated
Getting an access token from Cotter's SDK is as easy as setting a variable to `true`.
Last updated
Getting Cotter's OAuth Tokens is very easy using our current authentication methods. You should automatically receive the oauth_token
whenever a user is succesfully authenticated, either using magic link, OTP, trusted device, or WebAuthn.
You will get an oauth_token
object in the JSON response with all the tokens:
There are 3 places in the existing SDK where you can receive access tokens:
You can also call Cotter's API to get the tokens.