Intent has not succeeded
On implementing my own UI I struggle to login with google.
After selecting a Google account and being redirected to the
After selecting a Google account and being redirected to the
/idp/google/success
page, I'm immediately redirected back to the Google account selection screen. This creates an infinite loop.
I checked the logs and found the following error:
13 Replies
hey @anhtuan159 thanks for your question, did you follow any docs while building your own UI?. Can I have a look at it?. What version aree you on as well?.
Thanks
Hey @Rajat Singh thank you for your message!
I've identified the issue. It happens during the account linking process. When I log in using the Google provider, a sessionId is created, but it's not yet reflected in the session list 😦
Do you have any suggestions on how I can fix this?
Hey @anhtuan159 I might have to look a bit more deep in it. I'll get Back to you with that information
Thanks! I’ll wait for your update
hey guys, do you have an update on this? We're having the same issue
hey @JoseSzycho I have setup google IDP a couple of times since it was asked and now it works fine, pls give it a try again https://zitadel.com/docs/guides/integrate/identity-providers/google
🙂
Make sure:
"Account creation allowed" or "Account linking allowed" is enabled for your Google IdP in ZITADEL
@Rajat i tried to enabled both, but i still got same error.
hey @yahya can u pls share some more info/screenshot
@Rajat so, i'm using custom auth ui https://github.com/zitadel/typescript for my auth app (self hosted). And I found an issue for users who have Google Login + 2FA enabled. where the user is redirected to a link with this format after select the google account
i checked the log, and i got
Intent
GitHub
GitHub - zitadel/typescript: Typescript packages and application to...
Typescript packages and application to showcase the ZITADEL resource API - zitadel/typescript

hey @yahya how are you handling
{app_auth_url}/login
?? when I see your message
this seems wrong
{app_auth_url}/loginhttps://accounts.google.como/oauth2/v2/auth?
it shoud be https://accounts.google.com/o/oauth2/v2/auth?...
are you prefixing this {app_auth_url}/login
?.Nope, it’s the default path from the typescript repo. The full url is
‘https://{domain}/ui/v2/login/[route]
good morning @yahya I will look into it 🙂
Thanks @Rajat hopefully there will be good results