This is how i launch Login form.
WebAuthProvider.init(auth0)
.withScheme("app-aa.aa.auth0.com")
.withAudience("http://aaabcd.abc")
.withConnection("google-oauth2")
.withScope("openid profile email offline_access")
.start(activity, webCallback);
This displays google login page, but after login it does not redirect user to the app, and keeps showing the loading animation.
On iOS after login it display Safari cannot open the page because the address is invalid
error.
Please guide me how to fix this issue.
Hey there @waleed1 !
I’m not sure what might be the potential root cause of it but in the meantime I found a few links where people faced the same issue and go through it somehow. Maybe let’s give those concepts a try!
I’m trying to work around this issue: http://community.auth0.com/questions/542/lock-google-403-disallowed-useragent by converting my Ionic app to auth0-cordova.
I’m using the Ionic example application in the auth0-cordova project.
According to the Auth0 logs I’m able to successfully login. But I get the error:
Safari cannot open the page because the address is invalid
I’m assuming this has something to do with configuring custom urlscheme configuration?
I created this issue on GH with all t…
Hope it will help!
Thanks Konrad. I don’t know how, but somehow this is now working, I am getting following response after successful login from google in log.
D/OkHttp: {“code”:“jG-asd3df”,“redirect_uri”: “adasd”, “code_verifier”:“asdae3fd”}
Can you guide me how to get this response in java object, The Credentials
class does not have these fields.
system
Closed
August 29, 2019, 9:13am
4
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.