-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
Back EndIssues related to back-end developmentIssues related to back-end developmentv2Issues or pull requests related to the v2 branchIssues or pull requests related to the v2 branch
Description
Installation Method
Docker fat
The Problem
We upgraded to Stirling PDF 2.1.0, but SSO no longer works like it did with version 1.6.0. In the callback, I see that the oauthcallback returns "/error:OAuth=oAuth2RequiresLicense.". Do we need a license to use SSO?
Also, during the initial load, there are many unauthorized requests (/api/v1/info/wau, /api/v1/config/config-app, and /api/v1/config/endpoints-availability). Is this related to the missing license?
Finally when i set up SECURITY_OAUTH2_SCOPES="openid, email, profile" (or "openid email profile") I have an error on load and I am forced to only use openid.
Thank you, and congratulations on the new version, which looks great.
Version of Stirling-PDF
2.1.0
Last Working Version of Stirling-PDF
1.6.0
Page Where the Problem Occurred
/login
Docker Configuration
- SECURITY_OAUTH2_ENABLED=true
- SECURITY_OAUTH2_AUTOCREATEUSER=true
- SECURITY_OAUTH2_ISSUER=https://my-oauth
- SECURITY_OAUTH2_CLIENTID=my-client-id
- SECURITY_OAUTH2_CLIENTSECRET=my-client-secret
- SECURITY_OAUTH2_BLOCKREGISTRATION=false
- SECURITY_OAUTH2_SCOPES=openid
- SECURITY_OAUTH2_USEASUSERNAME=email
- SECURITY_OAUTH2_PROVIDER=my-providerRelevant Log Output
Additional Information
No response
Browsers Affected
No response
No Duplicate of the Issue
- I have verified that there are no existing issues raised related to my problem.
dosubot
Metadata
Metadata
Assignees
Labels
Back EndIssues related to back-end developmentIssues related to back-end developmentv2Issues or pull requests related to the v2 branchIssues or pull requests related to the v2 branch