zaviagodev / frappe

MIT License
0 stars 1 forks source link

Persistent Session Cookie Implementation for SSO on React Dashboard #14

Closed John-zaviago closed 11 months ago

John-zaviago commented 11 months ago

Feature Enhancement: Persistent Authentication State for SSO

We have identified a limitation within our React dashboard's Single Sign-On (SSO) functionality. Users are currently required to re-authenticate each time they access their Frappe site instances via the SSO buttons, due to the lack of a persistent session cookie that would maintain their authenticated state.

Current Challenge

The absence of a persistent session cookie means the system does not remember previous SSO usages within the same session. Consequently, users face the inconvenience of repeated login prompts when navigating between the React dashboard and Frappe framework.

Desired Solution

We need to implement a mechanism that retains the user's session state across different instances of our applications. This would allow users to utilize SSO to switch between the React dashboard and Frappe framework seamlessly, without repeated re-authentication.

Possible Approaches

Goals

Action Items

Importance

This enhancement is crucial for providing a smooth and efficient user experience and will significantly improve our platform's usability.

Request for Implementation

Please prioritize this improvement in the SSO functionality to facilitate better user flow and retention.

Thank you for your commitment to improving our platform's accessibility and user satisfaction.

John-zaviago commented 11 months ago

Tested - seem like everything is working find - next step will ask for some document how to implement these token in or quick link in other places in react dashboard