auth icon indicating copy to clipboard operation
auth copied to clipboard

Allow org-specific endpoint to be specified for Azure OAuth provider

Open raganca opened this issue 3 years ago • 1 comments

Feature request

  • See title.

Is your feature request related to a problem? Please describe.

  • The OAuth auth and token URLs are hardcoded to the common endpoint, which requires that an app registration on Azure be set to multi-tenant.

Describe the solution you'd like

  • A field in the External OAuth Providers -> Azure Enabled options which allows the Azure tenant ID to be specified. This would replace the 'common' in /common/oauth2/v2.0/authorize with a UUID representing a specific tenant.
  • Alternatively, could allow user to paste in the whole endpoint URL, but the additional effort may not be worthwhile.

Describe alternatives you've considered

  • There's not a clear alternative to this in my mind, but I'm certainly open to suggestions!

raganca avatar Nov 28 '21 16:11 raganca

There is already a pull request for this issue. #360

Once this is merged, this feature will be accomplished.

cf. https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/auth-oidc

koba-ninkigumi avatar Jan 31 '22 05:01 koba-ninkigumi