Can't get NativeAuthenticator to work
See original GitHub issueFrom a default install which worked fine, I did
sudo tljh-config set auth.type nativeauthenticator.NativeAuthenticator
sudo tljh-config reload
That didn’t work (could not log in as admin anymore, and there was no difference in the login screen). The log obtained with journalctl -u jupyterhub
does not show anything when attempting to log in.
Lacking logs, I also tried
git clone https://github.com/jupyterhub/nativeauthenticator.git
cd nativeauthenticator
pip install -e .
as instructed at https://native-authenticator.readthedocs.io/en/latest/quickstart.html (in the hope that my install did not work because I simply did not have nativeauthenticator yet). That did not work either, unfortunately.
Any pointers? What is the correct procedure, and how can I get some more logging info out of tljh so I can debug things like this in the future myself? Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (4 by maintainers)
Top Results From Across the Web
Quickstart - Native Authenticator documentation
A new user that wants access to a system running NativeAuthenticator must first visit the signup page and create a new account with...
Read more >jupyterhub/jupyterhub - Gitter
Hi everyone, I am trying to use nativeauthenticator with jupyterhub running on AWS EKS. To enable the same I have added the config...
Read more >Authenticator - Failed to verify contact [TypeError: Cannot read ...
It looks like this is a known issue: https://github.com/aws-amplify/amplify-js/issues/10711. I was able resolve this by installing the ...
Read more >Creating an admin user automatically with NativeAuthenticator
I can potentially have the docker container run as root but that can always ... So I've gone back to the original issue...
Read more >Why is there no native Authenticator app? : r/apple - Reddit
Yeah and it probably won't work well on windows. iCloud Keychain on windows is pathetically bad. I get that they're a competitor, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Adding the file
/opt/tljh/config/jupyterhub_config.d/native_auth.py
allowed me to sign up with admin useradmin
.To understand why this works I found the following link very helpful: https://tljh.jupyter.org/en/latest/topic/escape-hatch.html#extending-jupyterhub-config-py btw I didn’t have to install NativeAuthenticator separately.
Thanks for providing tljh!
I just uploaded the last master version to pip: https://pypi.org/project/jupyterhub-nativeauthenticator/0.0.5/
CHANGELOG: https://github.com/jupyterhub/nativeauthenticator/blob/master/CHANGELOG.md