-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Unable to to able to authenticate with Google workspace SSO using OIDC connector setup #15608
Comments
Adding context from the customer:
|
@oshati Is it possible that the {"web":{"client_id":"<redacted>.apps.googleusercontent.com","project_id":"<project name>","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"<redacted>"}} while the latter (correct) one is like {
"type": "service_account",
"project_id": "<project name>",
"private_key_id": "<redacted>",
"private_key": "-----BEGIN PRIVATE KEY-----<PRETTY BIG REDACTED>-----END PRIVATE KEY-----\n",
"client_email": "<service account name>@<project name>.iam.gserviceaccount.com",
"client_id": "<redacted number>",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/<service account name>%40<project name>.iam.gserviceaccount.com"
} If that's the case, then the panic is caused by an unfortunate oversight of the |
@espadolini I can confirm that updating the OIDC connector config fix the issue. Thanks! |
Solved by #16003; now you'll get a hard error in the auth logs stating |
Expected behavior:
User should be able to authenticate to the Teleport cluster using SSO - Google OIDC connector
Current behavior:
The OIDC connector cannot get groups information from GCP, so tsh login failed as expected. Exchange of information doesn't seem to occur with Teleport.
All Prerequisites has been met and configurations as suggested in the documentation but issue persists.
https://goteleport.com/docs/enterprise/sso/google-workspace/
From a review of the debug logs, there appears to be a memory panic issue recorded with the below entry
Bug details:
Teleport version 10
Recreation steps
https://goteleport.com/docs/enterprise/sso/google-workspace/
Debug logs
Full debug logs and config files available internally.
gz#6250
The text was updated successfully, but these errors were encountered: