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 configured oauth2 but i'm facing an error message in the logs of my docker compose :
Caused by: org.springframework.security.oauth2.jwt.BadJwtException: An error occurred while attempting to decode the Jwt: Signed JWT rejected: Another algorithm expected, or no matching key(s) found
stirling-pdf-1 | at org.springframework.security.oauth2.
And on the interface i have the message : "Jeton d'identification invalide"
Here is my docker compose :
I need to use azure, can you help me ?
environment:
DOCKER_ENABLE_SECURITY: "true"
SECURITY_ENABLELOGIN: "true"
SECURITY_OAUTH2_ENABLED: "true"
SECURITY_OAUTH2_AUTOCREATEUSER: "true" # This is set to true to allow auto-creation of non-existing users in Stirling-PDF
SECURITY_OAUTH2_ISSUER: https://login.microsoftonline.com/XXXX/v2.0 # Change with any other provider that supports Ope>
SECURITY_OAUTH2_CLIENTID: XXXX
# Client ID from your provider
SECURITY_OAUTH2_CLIENTSECRET: XXXX
# Client Secret from your provider
SECURITY_OAUTH2_SCOPES: openid,profile,email # Expected OAuth2 Scope
SECURITY_OAUTH2_USEASUSERNAME: email # Default is 'email'; custom fields can be used as the username
SECURITY_OAUTH2_PROVIDER: azure_activedirectory_v2 # Set this to your OAuth provider's name, e.g., 'google' or 'keycloak'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I configured oauth2 but i'm facing an error message in the logs of my docker compose :
Caused by: org.springframework.security.oauth2.jwt.BadJwtException: An error occurred while attempting to decode the Jwt: Signed JWT rejected: Another algorithm expected, or no matching key(s) found
stirling-pdf-1 | at org.springframework.security.oauth2.
And on the interface i have the message : "Jeton d'identification invalide"
Here is my docker compose :
I need to use azure, can you help me ?
environment:
DOCKER_ENABLE_SECURITY: "true"
SECURITY_ENABLELOGIN: "true"
SECURITY_OAUTH2_ENABLED: "true"
SECURITY_OAUTH2_AUTOCREATEUSER: "true" # This is set to true to allow auto-creation of non-existing users in Stirling-PDF
SECURITY_OAUTH2_ISSUER: https://login.microsoftonline.com/XXXX/v2.0 # Change with any other provider that supports Ope>
SECURITY_OAUTH2_CLIENTID: XXXX
# Client ID from your provider
SECURITY_OAUTH2_CLIENTSECRET: XXXX
# Client Secret from your provider
SECURITY_OAUTH2_SCOPES: openid,profile,email # Expected OAuth2 Scope
SECURITY_OAUTH2_USEASUSERNAME: email # Default is 'email'; custom fields can be used as the username
SECURITY_OAUTH2_PROVIDER: azure_activedirectory_v2 # Set this to your OAuth provider's name, e.g., 'google' or 'keycloak'
Azure app :
URL de réponse (URL Assertion Consumer Service) :
https://XXXX/login/oauth2/code/oidc
Beta Was this translation helpful? Give feedback.
All reactions