React Native App Google SSO Authentication Error: 'State cookie was missing.' #9081
Unanswered
iammeetpatel
asked this question in
Questions
Replies: 2 comments
-
Hi @linus-ha, Can you give insights? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @dcousens, Can you please guide us to implement this in the right way? Thank You! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I'm currently working on integrating Single Sign-On (SSO) functionality into a React Native app, leveraging Keystone.js as the backend. I've successfully set up SSO authentication on the Keystone admin panel using the provided example from their GitHub repository (link).
However, when attempting to authenticate with Google from the React Native mobile app, I encounter the following error message: "State cookie was missing."
Here's a brief overview of the setup:
Backend: Keystone.js
Frontend: React Native
SSO Provider: Google
And here are the steps I've followed:
Implemented SSO authentication using the example provided by Keystone.js for the admin panel.
Adapted the authentication flow for use in the React Native mobile app.
Configured Google as the SSO provider.
Despite following these steps, I'm encountering the "State cookie was missing" error upon attempting to authenticate with Google from the React Native app.
My Question:
What could be causing the "State cookie was missing" error in the context of React Native SSO authentication with Keystone.js?
How can I resolve this error and successfully authenticate users with Google SSO from my React Native app?
Any insights, troubleshooting tips, or guidance on resolving this issue would be greatly appreciated.
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions