Handling Existing Users in Keystone.js After Implementing SSO #9072
Unanswered
iammeetpatel
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I've recently implemented Single Sign-On (SSO) functionality into a React Native app and have encountered an issue with existing users in Keystone.js.
Here's the scenario:
Users who authenticate via SSO successfully obtain their email IDs.
For new users, we've implemented a system to generate random passwords using their email, name, and other details. This works seamlessly.
However, for existing users who wish to continue using the app through SSO, we face a dilemma. Since we haven't initially stored passwords in the system (as they were created during sign-up before SSO was introduced), we lack the necessary credentials to seamlessly authenticate them through Keystone.js.
My Question:
Is there a way to update the password for existing users in Keystone.js after they authenticate through SSO?
If so, what would be the best approach to handle this scenario, considering that we have access controls in place allowing users to update their own details?
Any insights or guidance on how to handle this situation would be greatly appreciated.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions