Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSO issue with custom federated authenticator #22919

Closed
Thisara-Welmilla opened this issue Feb 9, 2025 · 1 comment
Closed

SSO issue with custom federated authenticator #22919

Thisara-Welmilla opened this issue Feb 9, 2025 · 1 comment

Comments

@Thisara-Welmilla
Copy link
Contributor

Thisara-Welmilla commented Feb 9, 2025

Description

Feature:

Erroneous Scenario:

  1. Log in to App1 using a custom federated authenticator. Do not log out.
  2. Attempt to log in to App2 using the same browser.

Behavior:
When credentials are entered on the App2 login page and submitted, the page reloads instead of proceeding. However, after the reload, the authenticator flow works as expected.

Note: This issue occurs only when the user is authenticated in the first app using a custom federated authenticator and then tries to SSO into another account from the same browser.

The following error appears in the server terminal:

[2025-02-10 01:37:46,714] [c7197e5a-94c5-4fce-8d3d-2ffaa893057b] ERROR {org.wso2.carbon.identity.application.authentication.framework.store.SessionDataStore} - Error while storing session data org.wso2.carbon.identity.application.authentication.framework.exception.SessionSerializerException: Error while serializing the session object
	at org.wso2.carbon.identity.application.authentication.framework.store.JavaSessionSerializer.serializeSessionObject(JavaSessionSerializer.java:45)
	at org.wso2.carbon.identity.application.authentication.framework.store.SessionDataStore.setBlobObject(SessionDataStore.java:742)
	at org.wso2.carbon.identity.application.authentication.framework.store.SessionDataStore.persistSessionData(SessionDataStore.java:642)
	at org.wso2.carbon.identity.application.authentication.framework.store.SessionDataStore.storeSessionData(SessionDataStore.java:484)
	at org.wso2.carbon.identity.application.authentication.framework.cache.AuthenticationContextCache.addToCache(AuthenticationContextCache.java:127)
wjc-gojm-vmr.2025-02-10.01_37.GMT+5_30.mp4

Version

No response

@malithie
Copy link
Member

This is fixed with wso2/carbon-identity-framework#6498

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants