product-is
product-is copied to clipboard
SID claim in getting changed when authenticated with SSO
Describe the issue:
sid
claim in the id token is always returns with a new value when user is getting authenticated with SSO using the same session. This happens after the introduction of JARM feature [1]
How to reproduce:
- Create two service providers (application A and application B) with authorization code grant
- Login into the application A using authorization code
- Get the id token
- Login into the application B with SSO
- Get the id token
- Two id tokens will contain two different
sid
claims - If a new authorize request is sent to the service provider of application A and get a new id token with same session, it will also contain a new
sid
claim value
Expected behavior:
Id token should contain the same sid
value since the user is authenticated with same session.
Environment information:
- Product Version: IS 6.1.0
[1] - https://github.com/wso2/product-is/issues/15527