FormidableLabs / react-native-app-auth

React native bridge for AppAuth - an SDK for communicating with OAuth2 providers
https://commerce.nearform.com/open-source/react-native-app-auth
MIT License
2.04k stars 441 forks source link

Keycloak auth issue: Cookie not found #1028

Closed atrofimenko closed 1 month ago

atrofimenko commented 1 month ago

Issue

Hello! I'm trying to use this package with our Keycloak instance, but facing with issue when I'm trying to navigate to register screen from auth screen of Keycloak - I'm getting error inside browser: "Cookie not found. Please make sure cookies are enabled in your browser." Screenshot 2024-10-10 at 01 05 16 Screenshot 2024-10-10 at 01 06 26 Screenshot 2024-10-10 at 01 09 27

Tried different settings, configs, no idea for now how to solve this issue.


Environment

carbonrobot commented 1 month ago

The current versions of Keycloak require HTTPS, an active Content-Security-Policy, and for your redirectUrl to be configured in Keycloak for your clientId

atrofimenko commented 1 month ago

The current versions of Keycloak require HTTPS, an active Content-Security-Policy, and for your redirectUrl to be configured in Keycloak for your clientId

Yes, thank you! We are testing locally, fixed an issue with downgrade keycloak from 26 to 25 version

atrofimenko commented 1 month ago

Closing this issue, thank you!