This repository was archived by the owner on Jul 24, 2023. It is now read-only.
This repository was archived by the owner on Jul 24, 2023. It is now read-only.
SSO Problem with single route #925
Open
Description
- Laravel Version: 8.83.3
- Adldap2-Laravel Version: 6.1
- PHP Version: 8.0
- LDAP Type: ActiveDirectory
- Apache Version: 2.4.53
- Apache Modul; auth_gssapi
Description:
As described in the instructions, I have activated the middleware for SSO. However, this only works if I activate authentication for the entire site in Apache. Then the queries via GraphQL to Lighthouse PHP no longer work.
So I wanted to enable authentication for only one URL e.g. /auth. But then SSO no longer works.
Here is my config:
<LocationMatch "/auth">
AllowOverride None
AuthType GSSAPI
AuthName "xx.yy.zz"
GssapiBasicAuth On
GssapiCredStore keytab:/etc/kerberos.keytab
GssapiLocalName On
require valid-user
</LocationMatch>
The WWW-Authenticate parameter is included in the response and vary starts with "Authorization".
When I read the Auth::user() value in the route mentioned, it is empty.
Does anyone have a similar constellation and can tell me whether authentication with SSO is only possible via a single route?
Metadata
Metadata
Assignees
Labels
No labels