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

Unable to sign in alfter sign up #118

Open
ztcheck opened this issue Oct 28, 2020 · 5 comments
Open

Unable to sign in alfter sign up #118

ztcheck opened this issue Oct 28, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@ztcheck
Copy link

ztcheck commented Oct 28, 2020

Bug description

WHen i integrate nativeauthenticator and jupyterhub,and jupyterhub's version is 1.1.0,nativeauthenticator 's version is lastest,i can create a new admin user from sign up page,but can not sign in.Error msg is Invalid username or password.

image

And i rebuild the docker image by using Dockerfile:
FROM jupyterhub/k8s-hub:0.9.1
RUN pip install git+https://github.com/jupyterhub/nativeauthenticator.git

Any suggestions would be greatly appreciated!

Expected behaviour

success to sign in

Actual behaviour

How to reproduce

Your personal set up

@ztcheck ztcheck added the bug Something isn't working label Oct 28, 2020
@welcome
Copy link

welcome bot commented Oct 28, 2020

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@lambdaTotoro
Copy link
Collaborator

Hello @marrycheck! Just to confirm, did you add your admin user to the configuration (see the documentation) so that it will be authorized to login?

@ztcheck
Copy link
Author

ztcheck commented Oct 29, 2020

Thanks for your reply,@lambdaTotoro .I have added admin user to the configuration,and in the user_infotable,the value of is_authorized is 1.
I also did not see any errors except "Login failed".

@lambdaTotoro
Copy link
Collaborator

lambdaTotoro commented Nov 9, 2020

Okay, I just set up JupyterHub with the current NativeAuthenticator on a fresh Ubuntu install and I couldn't reproduce this problem with a user called "admin", i.e. I can login just fine.

Could you make sure you start JupyterHub with the correct flags (jupyterhub -f /path/to/your/jupyterhub_config.py), the newest k8s-hub and making double sure you have the correct password?

@ztcheck
Copy link
Author

ztcheck commented Nov 16, 2020

In my env,i use helm to set up JupyterHub.Helm version is 0.9.1,and i have checked and tested the password several times,,,
I will change to helm version 0.10.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants