Getting OAuth Tokens
Last updated
Last updated
When a user successfully logged-in, Cotter will generate an access_token
, an id_token
, and a refresh_token
that you can use in your backend API.
The SDK automatically stores these tokens in the device's secure storage.
This function will automatically refresh the access_token
and id_token
if it's expired.