-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
TLJH # and login customizations not working #98
Comments
which version of NativeAuthenticator where you using? I just updated the package on pip, could you check if this problem persists? |
Hi @leportella - I installed NativeAuthenticator as per instructions found here https://native-authenticator.readthedocs.io/en/latest/quickstart.html
|
I see now that the error is because the authenticator can't find the original database:
Could you try with removing the importing users from FirstUse Auth option?
|
@leportella no difference after removing the FirstUse Auth option. If I recall accurately I added FirstUse Auth as troubleshooting step after experiencing issues. Just to confirm default folder path for passwords.dbm is /opt/tljh/state/passwords.dbm? |
Current tljh config users:
admin: []
https:
enabled: true
tls:
key: /etc/ssl/private/wildcard_ahri_org.key
cert: /etc/ssl/certs/wildcard_ahri_org.crt
auth:
type: nativeauthenticator.NativeAuthenticator
user_environment:
default_app: jupyterlab
Authenticator:
check_common_password: true
minimim_password_length: 10
allowed_failed_logins: 5
ask_email_on_#: true
open_#: true
limits:
memory: 8G
cpu: 1 |
@leportella i have exactly the same problem in the same config. |
@t3chbg Did you find a fix to your problem? |
@Paul-Barac not yet unfortunately..... |
I noted this as well, but I haven't debugged this more in detail. Will try find time to do so in a few weeks, thanks for your effort to debug and document this experience so far! Note also that nativeauthenticator 1.0.5 has been released. |
I think by using nativeauthenticator 1.0.5, and by configuring this in a jupyterhub config file:
Things will work. |
Having few issues with login and # custom pages not displaying after enabling Native Authentication - #69 suggestions do not seem to work for me and having trouble figuring out what the issues are.
Ran pytest ad getting 2 error and 2 warning messages. Also not sure if these errors are related to the issue or not.
The text was updated successfully, but these errors were encountered: