mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Oauth (via socialite) #105
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Boy132 on GitHub (Jun 13, 2024).
Originally assigned to: @Boy132 on GitHub.
https://laravel.com/docs/11.x/socialite
https://socialiteproviders.com/
@KeyTerminal commented on GitHub (Jun 15, 2024):
Would be nice to see an option for JIT(Just-In-Time) provisioning added to create users upon sign-in via SSO.
@timoschirmer commented on GitHub (Jun 15, 2024):
Would love to see support for authentik or some kind of generic oauth2 provider in the future.
@KeyTerminal commented on GitHub (Jun 15, 2024):
Authentik is already supported see here https://socialiteproviders.com/Authentik/#installation-basic-usage
just gotta make some changes to get it working.
@andyondrya commented on GitHub (Jun 16, 2024):
Weird migration error,
@rmartinoscar commented on GitHub (Jun 17, 2024):
Fixed in PR #409
@KeyTerminal commented on GitHub (Jun 18, 2024):
Would be nice to see enforce MFA as an option as well.
Using the amr attribute within the OAuth token contains the types auth the user has completed
at the identity provider, an example:
"amr": [
"pwd",
"mfa"
],
You could use this to add an option to enforce MFA which would deny the login if the amr token doesn't contain "mfa".
@eligibbs commented on GitHub (Nov 8, 2024):
I've followed the couple things listed there, what else needs done to enable logging in with authentik? I'm really not seeing anything else for it
@Boy132 commented on GitHub (Nov 8, 2024):
Currently only the backend for oauth works, there is no frontend yet. So you can't use it yet.
@eligibbs commented on GitHub (Nov 8, 2024):
I see. Would love to get this working, but I doubt I'll be of any help. I'll happily be a test-bed when time come though
@Felitendo commented on GitHub (Dec 23, 2024):
Is there a way to use OIDC/Oauth2 as of now even without the configuration settings UI?
Edit: I got it working.
For anyone using Authentik:
put this inside your .env:
and you can change the "Authentik" Label to anything here: https://github.com/pelican-dev/panel/blob/main/config/auth.php#L104C10-L104C19
after you configure those, you should see a button on /app/login and /admin/login routes.
@eligibbs commented on GitHub (Dec 29, 2024):
I also have this working this way. If we could, it would be nice to define some scopes (like for groups/role claim/auto user linking). Fantastic for internal use for now!