Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging into authentik with Google via SAML #5035

Closed
codesmaker opened this issue Mar 21, 2023 · 3 comments · Fixed by #12701
Closed

Logging into authentik with Google via SAML #5035

codesmaker opened this issue Mar 21, 2023 · 3 comments · Fixed by #12701
Labels
documentation Improvements or additions to documentation pr_wanted Will eventually be fixed/implemented upstream, PRs will happily be accepted.

Comments

@codesmaker
Copy link

Hi,

First of all, I'd like to thank you for such a comprehensive and beautiful SSO solution!

I'm a newbie in Authentik and I'm trying to find my way around. I wanted to start doing something very simple which is create an application for a website example.com. The idea is that when I click on the application, I get redirected to Google to authenticate. Once the authentication is successful, I get redirected to the my website (example.com). So, I want to use Google SAML as IdP but it's not working. I created an application and linked it to a SAML provider.

Any help and tips will be highly appreciated.

@codesmaker codesmaker added the question Further information is requested label Mar 21, 2023
@BeryJu
Copy link
Member

BeryJu commented Mar 22, 2023

Hi, the order of events you described would happen in a different order, a user (that is not logged into authentik) opens example.com, gets redirect to the authentik login page, and there can login with google, and then gets redirected to the example. The difference is that when a. user is already logged into authentik, they will then directly be sent to examaple.com.

For logging in with google, see https://goauthentik.io/integrations/sources/google/ (which is for gmail/non-workspace accounts), there's currently no docs page for using login with google (using google workspaces)

For the application the provider depends on the application you want to secure

@cfradewavecom
Copy link

Hi, i am also trying to setup Social Login using Google SAML.
I see button available to login with Google. I see that https://accounts.google.com/o/saml2/idp?idpid=******* returns HTTP code 200 but then authentik returns CSRF verification failed. Request aborted.

What am i missing?

@roeizavida
Copy link

Hi, i am also trying to setup Social Login using Google SAML. I see button available to login with Google. I see that https://accounts.google.com/o/saml2/idp?idpid=******* returns HTTP code 200 but then authentik returns CSRF verification failed. Request aborted.

What am i missing?

I have the same issue. Was anyone able to figure this out?

@BeryJu BeryJu changed the title SAML SSO Logging into authentik with Google via SAML Apr 25, 2024
@BeryJu BeryJu added documentation Improvements or additions to documentation pr_wanted Will eventually be fixed/implemented upstream, PRs will happily be accepted. and removed question Further information is requested labels Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation pr_wanted Will eventually be fixed/implemented upstream, PRs will happily be accepted.
Projects
None yet
4 participants