Skip to content

Conversation

@arnaud-robin
Copy link
Member

Problem

Right now users already logged in to the SSO have to click on the login button again to be connected. This extra step should not be necessary and some partners have complained

Proposed solution

This PR uses the "silent=true" parameter in the lasuite login endpoint to avoid showing the IdP login screen if user already have an active session.

Currently users already logged in to the SSO have to click on the login
button again to be connected. This extra step should not be necessary.

This commit uses the "silent=true" parameter to the login endpoint
to avoid the extra step.
@arnaud-robin
Copy link
Member Author

This implementation is heavily copied from @lebaudantoine work.

@github-actions
Copy link

github-actions bot commented Dec 4, 2025

Size Change: +1.61 kB (+0.04%)

Total Size: 4.12 MB

Filename Size Change
apps/impress/out/_next/static/61be4540/_buildManifest.js 0 B -906 B (removed) 🏆
apps/impress/out/_next/static/chunks/pages/_app.js 435 kB +1.62 kB (+0.37%)
apps/impress/out/_next/static/a6e52515/_buildManifest.js 905 B +905 B (new file) 🆕

compressed-size-action

@arnaud-robin arnaud-robin added the FAST Issues that will improve the AARR (acquisition, activation, retention and recommendation) label Dec 4, 2025
@virgile-dev
Copy link
Collaborator

@AntoLC fyi

Copy link
Collaborator

@AntoLC AntoLC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need a test to assert that it is working, the tests don't seem happy btw.

If I understand correctly, even if our cookies is dead (frontend side), if the SSO recognize the user it will not prompt the user again, isn't it ?

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

Labels

experiment FAST Issues that will improve the AARR (acquisition, activation, retention and recommendation) frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants