I want to implement google login in my flutter project natively. But i could not find any solution or option in the package itself. All the tutorials are about implementing the login using the auth0 universal login screens. but i want to do this natively in flutter app and receive the tokens (idToken, accessToken etc) on success.
Describe the ideal solution
I am using google_sign_in for fetching the credentials. I guess it would be much nicer if we can have an option in the api
loginWithGoogleCredentials. So that we can just provide the credentials fetched from the plugin and perfrom the login.
Alternatives and current workarounds
As PasslessLogin is also not available in this package, so i implemented that flow using the auth0 endpoints. and thats working fine. I was thinking maybe if you cannot add this (google_login) option sooner then perhaps you can guide me how can i implement this natively. Any help from you would be highly appreciated.
Hi @IKRAMULHAQ786, thanks for raising this.
Unfortunately, Auth0 does not support native login with Google; only with Facebook and Sign in with Apple.
I'll close this one, as it's not an issue with the SDK.
Checklist
Describe the problem you'd like to have solved
I want to implement google login in my flutter project natively. But i could not find any solution or option in the package itself. All the tutorials are about implementing the login using the auth0 universal login screens. but i want to do this natively in flutter app and receive the tokens (idToken, accessToken etc) on success.
Describe the ideal solution
I am using google_sign_in for fetching the credentials. I guess it would be much nicer if we can have an option in the api
loginWithGoogleCredentials
. So that we can just provide the credentials fetched from the plugin and perfrom the login.Alternatives and current workarounds
As PasslessLogin is also not available in this package, so i implemented that flow using the auth0 endpoints. and thats working fine. I was thinking maybe if you cannot add this (google_login) option sooner then perhaps you can guide me how can i implement this natively. Any help from you would be highly appreciated.
Additional context
No response