then
callback that you provided.user1
has logged-in before and already associated with a user (userID: 123
), then the user can automatically log in.access_token
that you can use to call their API. We store this information for you. To get the access_token
for each user, follow the instructions below:example.com/login
github.com/oauth/....
example.com/login?code=xyz&state=abc
code
and state
and other parameters when redirecting back to your login page. Cotter's Login Form automatically handles this query parameters for you and will resolve the Promise with the usual Cotter user information response.