Skip to content

UnityAuth should recognize credential environment variables when run under Jupyterhub #61

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

Open
mcduffie opened this issue Feb 13, 2025 · 0 comments
Assignees

Comments

@mcduffie
Copy link
Contributor

mcduffie commented Feb 13, 2025

Running unity_sds_client under MDPS Jupyterhub instances should not prompt for username/password. The auth information is already available as environment variables. Instead it should use this mechanism:

https://github.com/unity-sds/unity-ads-deployment/blob/84b94314a2a08b8cc9fba89b779d18418cf55a30/ci_cd/activation_example/unity_token.py#L6

This would be a modification to UnityAuth in:
https://github.com/unity-sds/unity-monorepo/blob/main/libs/unity-py/unity_sds_client/unity_session.py

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

No branches or pull requests

3 participants