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

Auth: US Government Azure AD OAuth URL not supported #71252

Closed
douglasryanadams opened this issue Jul 7, 2023 · 2 comments · Fixed by #71254
Closed

Auth: US Government Azure AD OAuth URL not supported #71252

douglasryanadams opened this issue Jul 7, 2023 · 2 comments · Fixed by #71254
Milestone

Comments

@douglasryanadams
Copy link
Contributor

What went wrong?

What happened:

What did you expect to happen:

How do we reproduce it?

Step 1:

  • Open Grafana and select Azure AD SSO login option

Step 2:

  • Provide Azure AD SSO credentials to your AD service

Step 3:

  • Error message appears

What Grafana version are you using?

10.0.1

Optional Questions:

Is the bug inside a Dashboard Panel?

Copy the panel's "get-help" data here

Grafana Platform?

None

User's OS?

No response

User's Browser?

No response

Is this a Regression?

None

Are Datasources involved?

No response

Anything else to add?

I am working on a PR to fix the regex statement that's causing this error. The code's updated and tested but I'm making sure I go through the process correctly (which is why I created this issue).

@douglasryanadams douglasryanadams changed the title Azure AD OAuth: US Government Azure URL not supported Auth: US Government Azure AD OAuth URL not supported Jul 7, 2023
douglasryanadams pushed a commit to douglasryanadams/grafana that referenced this issue Jul 7, 2023
Updates regex for tenant ID parsing to support .us domains in addition
to .com domains for Azure AD.

Fixes grafana#71252
douglasryanadams added a commit to douglasryanadams/grafana that referenced this issue Jul 7, 2023
Updates regex for tenant ID parsing to support .us domains in addition
to .com domains for Azure AD.

Fixes grafana#71252
douglasryanadams added a commit to douglasryanadams/grafana that referenced this issue Jul 7, 2023
Updates regex for tenant ID parsing to support .us domains in addition
to .com domains for Azure AD.

Fixes grafana#71252
@Jguer Jguer added this to the 10.1.x milestone Jul 10, 2023
@Jguer
Copy link
Contributor

Jguer commented Jul 10, 2023

Hi @douglasryanadams , thanks for reporting this issue and for contributing the fix. We'll try and confirm the difference in domain doesn't affect other functionality

Jguer pushed a commit that referenced this issue Jul 10, 2023
Updates regex for tenant ID parsing to support .us domains in addition
to .com domains for Azure AD.

Fixes #71252
polibb pushed a commit that referenced this issue Jul 14, 2023
Updates regex for tenant ID parsing to support .us domains in addition
to .com domains for Azure AD.

Fixes #71252
@danfinn
Copy link

danfinn commented Jul 19, 2023

When can this fix be expected in your dockerhub repo?

@ricky-undeadcoders ricky-undeadcoders modified the milestones: 10.1.x, 10.1.0 Aug 1, 2023
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

Successfully merging a pull request may close this issue.

4 participants