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

Support needed for Oathenticator's Azure AD signin with TLJH #610

Closed
tamasSzentandrasi opened this issue Sep 4, 2020 · 3 comments
Closed
Labels
bug Something isn't working support Support questions (should be on discourse.jupyter.org instead)

Comments

@tamasSzentandrasi
Copy link

Proposed change

Currently, Oauthenticator uses azuread.py to handle the cases where tljh-config contains azuread as the auth type. It seems to primarily use environmental variables to get the required details for the construction of a valid redirect url. However, simply by making sure the only referenced 'AAD_TENANT_ID' is valid, it fails to include other necessary configuration details, that have been given in the tljh config below.

The contents of tljh-config (reload was successful - active):

spec:
  env:
    name: AAD_TENANT_ID
    value: <valid Azure AD Tenant ID>
auth:
  type: azuread
  azuread:
    client_id: <client_id>
    client_secret: <client_secret>
    callback_url: https://<ourdomain>/hub/callback
    tenant_id: <same valid Azure AD Tenant ID>
cert_reqs: CERT_REQUIRED

I've already submitted a Bug report on the Oauthenticator side, However the issue is between TLJH and Oauthenticator, and thus the solution has to be some sort of support from both sides to allow this use-case for authentication.

@tamasSzentandrasi tamasSzentandrasi added the enhancement New feature or request label Sep 4, 2020
@nickmachairas
Copy link

I run into the exact same problem just now. I assume there are no fixes yet? Thanks

@consideRatio
Copy link
Member

I'll close this ahead of time as something to be handled by #719 and #732 and fixing the config.

@consideRatio consideRatio added bug Something isn't working support Support questions (should be on discourse.jupyter.org instead) and removed enhancement New feature or request labels Oct 26, 2021
@arun-soliton
Copy link

@tamasSzentandrasi I have a similar use case too and I am unable to configure Azure AD for tljh. Were you able to do it, if so can you kindly guide me with the steps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working support Support questions (should be on discourse.jupyter.org instead)
Projects
None yet
Development

No branches or pull requests

4 participants