-
Notifications
You must be signed in to change notification settings - Fork 140
OIDC authentication #82
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
Comments
OIDC is still not available natively, but since sqlpage.fetch is available, it is possible to implement it manually in SQLPage. I wrote a demo here: https://github.com/lovasoa/SQLpage/tree/main/examples/single%20sign%20on |
If I have an LDAP solution (LLDAP) and SSO (Authelia) running, using a reverse proxy that is doing forward_auth, is it possible for me to capture the headers that the reverse proxy sends after authentication is successfully completed ? I tried to capture the headers select 'cookie' as component,
'userEmail' as name,
coalesce(sqlpage.header('Remote-Email'), '') as value; But this doesn't seem to capture the information from the headers. My current state is that LLDAP, Authelia are set up and working. [Apologies if I am missing something simple, I am not a developer but just learning docker based set up for self-hosting as I go along] |
Hi @accforgithubtest ! I think your problem comes from capitalizing the headers. |
thanks for the reply @lovasoa ! Is there any specific reason sqlpage expects them to be lower case ? Reason I ask is most examples I comes across online seem to be using a mix of all caps, mixed case, etc as well. |
Yes, I just pushed a change to the header function. The next version won't require you to lower case the header name! |
That is awesome ! thank you so much @lovasoa |
Feature Request: implement signin using an external OIDC (oauth) povider such as Google, Microsoft, Apple, Auth0, keycloak...
keyword: SSO, single-sign-on
This is a follow-up on #12
The text was updated successfully, but these errors were encountered: