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

SAML access not provided #6594

Closed
isidorn opened this issue Jan 13, 2025 · 7 comments
Closed

SAML access not provided #6594

isidorn opened this issue Jan 13, 2025 · 7 comments
Assignees

Comments

@isidorn
Copy link

isidorn commented Jan 13, 2025

I got into a state, that whenever I try to login to GH PR extension I get the "SAML access not provided" error.
Looking at Output:

"Unable to resolve remote: HttpError: Resource protected by organization SAML enforcement. You must grant your OAuth token access to this organization."

I do not think I did the auth dance any different than in the past.

fyi @TylerLeonhardt

Image

@TylerLeonhardt
Copy link
Member

I assume this is for the Microsoft Org? And did you get this after going through an auth flow? And did you do the SAML/SSO for Microsoft in that flow?

@isidorn
Copy link
Author

isidorn commented Jan 13, 2025

@TylerLeonhardt yes this is for my @isidorn GitHub account that is tied to the Microsoft Org.

I got this after going through the auth flow.
I did the regular flow. So I think SAML/SSO.

@TylerLeonhardt
Copy link
Member

hmmm suspicous... @alexr00 I thought that GHPR did the forceNewSession flow when this error shows up to force a new token to be minted? Does it not?

@aimen-ak-gy
Copy link

aimen-ak-gy commented Jan 15, 2025

Hello , thanks for sharing , I have the same issue here. Do you find a solution yet ? Thanks in advance.

Image

@TylerLeonhardt
Copy link
Member

What happens when you hit approve?

@alexr00
Copy link
Member

alexr00 commented Feb 11, 2025

Just tried this out (finally remembered to try it before SAMLing for the day) and I can't repro the issue. @isidorn if you're still seeing it let me know!

@alexr00 alexr00 closed this as completed Feb 11, 2025
@isidorn
Copy link
Author

isidorn commented Feb 11, 2025

I have not seen this issue since then. If I see it again will let you know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants