how can I enable username/password auth ? #167
Comments
Hi @fallshuang , Since Theia applications can be used natively (i.e. run directly on one's computer, where the user has already authenticated), we do not consider user authentication to be in-scope, but rather as something to be dealt-with outside of Theia, if/when required. For example workspace servers that integrate Theia, such as Eclipse Che and Gitpod, will take care of this. |
If you want to use your username and password to enhance your security, you can use the following command, where the password needs to be filled with MD5. docker rm -f theia; docker run -it --privileged -p 15050:5050 --expose 9229 -p 19229:9229 -v "$(pwd):/home/project:cached" -e "username=land007" -e "password=fcea920f7412b5da7be0cf42b8c93759" --name theia land007/theia:latest Please visit http://docker_ip:15050/ and log in with username land007 and password 1234567 |
Thanks @land007 : this seems like a simple way to enable some form of authentication. |
This contribution has been automatically marked as stale due to inactivity, and it will be closed if no further activity occurs. Thank you for contributing to Theia! |
Sorry @land007, i have try your suggestions but not working. |
@Jayuda You may be mapping directory error, please try the following command docker run -it --privileged -p 15050:5050 --expose 9229 -p 19229:9229 -e "username=land007" -e "password=fcea920f7412b5da7be0cf42b8c93759" --name theia land007/theia:latest |
I Have done it using theia-https Refer Below Link https://github.com/DilLip-Chowdary-Codes/Theia_Authentication_Integrated |
You can also use the original mirror to do https and username password
|
I start theia in docker , how can I enable username/password auth ?
The text was updated successfully, but these errors were encountered: