Exchange Google Sign In token

Hi

Investigating a solution to add Native Google Sign in into an Android application without using the Auth0 SDK.

Basically will have the Google Identity SDK in the project which will handle account selection and talking to google. What I would need is to exchange that token.

Looking at the API docs found this
https://auth0.com/docs/api/authentication#token-exchange-for-native-social

So far seems good, but what is the subject_token_type for google?

Description says

" Identifier that indicates the type of subject_token . Currently supported native social values are: http://auth0.com/oauth/token-type/apple-authz-code ."

This made me worried so wanted to ask before recommend this solution and we start implementing it and realize it halfway through that it won’t work.

bump and bump to 20 characters min

Hi @authuser1

Welcome to the Auth0 Community!

I am sorry about the delayed response to the post.

Even though this feature might be depricated since we offer social logins integrations through the dashboard, the types supported would be either urn:ietf:params:oauth:token-type:jwt or urn:ietf:params:oauth:token-type:idToken if the token is OIDC conformant.

If you have any other questions, feel free to let me know or post again on the community!

Kind Regards,
Nik

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.