-
Notifications
You must be signed in to change notification settings - Fork 489
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
Authentication #1
Labels
enhancement
Improvement/Optimization
Comments
cool |
I will like to contribute to the projects |
is this live, I'm really looking forward to using it |
It's coming next week. |
1 task
Closed
1 task
1 task
1 task
1 task
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Useful materials:
Configuring OAuth provider:
Authenticate (start OAuth flow) user:
Check if a session is authenticated:
Providers
GitHub
authorization_endpoint
:https://github.com/login/oauth/authorize
token_endpoint
:https://github.com/login/oauth/access_token
read:user
,user:email
read:org
Google
authorization_endpoint
:https://accounts.google.com/o/oauth2/auth
token_endpoint
:https://oauth2.googleapis.com/token
https://www.googleapis.com/auth/userinfo.email
,https://www.googleapis.com/auth/userinfo.profile
Azure
authorization_endpoint
:https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize
token_endpoint
:https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token
user.read
Directory.Read.All
Redirect URLs
Web:
http(s)://{application_url}/api/oauth/redirect
Desktop:
http://localhost/api/oauth/redirect
Mobile:
flet://api/oauth/redirect
login(provider)
method flowstate
value, savestate
in Authentication object.redirect_url
.page.oauth_login(authorization_url, state)
.oauth_state_{state}
key andpage_id:session_id
value.oauth_login
on a client withauthorization_url
andstate
.authorization_url
in:redirect_url
.page_id:session_id
byoauth_state_{state}
key. Verifiesstate
.on_authorize
event to a Python code withcode
,error
,state
.state
.on_authorize
event to a Python code withcode
,error
,state
.on_authorize
handler called:state
code
,client_secret
,token_endpoint
.page.on_login
event handler called.The text was updated successfully, but these errors were encountered: