You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've configured authentication with OIDC. The IDP is Synology SSO Server. After login, I receive this error:
Caution
ID token validation failed with error: Missing or non-matching token issuer value
This is a part of my config:
AUTH_METHOD=oidcAUTH_AUTO_INITIATE=falseOIDC_NAME=SSOOIDC_DISPLAY_NAME_CLAIMS=usernameOIDC_CLIENT_ID="..."OIDC_CLIENT_SECRET="..."OIDC_ISSUER=https://mydomain.com/webman/sso/OIDC_END_SESSION_ENDPOINT=falseOIDC_ISSUER_DISCOVER=falseOIDC_PUBLIC_KEY=file:///config/idp-public-key.pemOIDC_AUTH_ENDPOINT=https://mydomain.com/webman/sso/SSOOauth.cgiOIDC_TOKEN_ENDPOINT=https://mydomain.com/webman/sso/SSOAccessToken.cgiOIDC_USERINFO_ENDPOINT=https://mydomain.com/webman/sso/SSOUserInfo.cgi# Enable OIDC group sync.OIDC_USER_TO_GROUPS=trueOIDC_GROUPS_CLAIM=groupsOIDC_ADDITIONAL_SCOPES=groupsOIDC_REMOVE_FROM_GROUPS=true
Note
I'm currently unable to use auto-discover due to DNS problems in my home network. mydomain.com is anonymized and only available in my home network.
Exact BookStack Version
v24.12.1
Log Content
Output after login at Idp and OIDC_DUMP_USER_DETAILS=true
@tomo2403 That totally depends on whether the auth system is configured to have a trailing slash. It's neither required or prohobited by the spec. The OIDC_ISSUER just needs to match whether or not your auth system is using a trailing slash (the iss value observed).
Attempted Debugging
Searched GitHub Issues
Describe the Scenario
I've configured authentication with OIDC. The IDP is Synology SSO Server. After login, I receive this error:
Caution
ID token validation failed with error: Missing or non-matching token issuer value
This is a part of my config:
Note
I'm currently unable to use auto-discover due to DNS problems in my home network. mydomain.com is anonymized and only available in my home network.
Exact BookStack Version
v24.12.1
Log Content
Output after login at Idp and
OIDC_DUMP_USER_DETAILS=true
Note
iss
is different fromOIDC_ISSUER
. Changinghttps
tohttp
or/and removing the trailing slash inOIDC_ISSUER
throws an unexpected error.Hosting Environment
PHP 8.3.15 inside Docker (Image: https://github.com/linuxserver/docker-bookstack) on Synology NAS (DSM 7.2.2)
The text was updated successfully, but these errors were encountered: