List of various auth mechanisms #5049
simplylu
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
over the last months I played around with different authentication mechanisms in nicegui, just wanted to share them with you :)
A description on how to use is always in the Readme. They're all just working concepts, nothing sophisticated.
Authenticating with username, password and a PFX certificate:
When you start the app, you can register an account and a PFX certificate will be provided. You can only login with valid username, password and PFX certificate.
Repository
GitHub OAuth Login Flow:
After creating a GitHub OAuth app you can authenticate with the app using your GitHub account.
Repository
Verify your login using hCaptcha:
With hCaptcha you can ensure it's a real human who's authenticating with your server. You can only login with a valid captcha, username and password. If any of them is wrong (e.g. captcha fails), the login will fail.
Repository
Login via SSO using Azure Application:
With this, you can integrate your Nicegui app into your Azure environment. The Readme has all the info to configure the app and to fill your .env file. Login at the app is now possible using your Azure account.
Repository
If you have suggestions for the code like security improvements or similar, let me know or send a pull request; more than happy to merge them.
And if you have further suggestions on other authentication mechanisms, let me know or just add them here.
Thx and have fun playing around with them :)
Luna
Beta Was this translation helpful? Give feedback.
All reactions