Replies: 3 comments 4 replies
-
I'm not sure what the best practices are since I never actually tested Keycloak authentication locally, but you can refer to this to connect localhost in your emulator. |
Beta Was this translation helpful? Give feedback.
1 reply
-
2024-09-09.23-28-02.mp4 |
Beta Was this translation helpful? Give feedback.
3 replies
-
Hi @develogo, |
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
Uh oh!
There was an error while loading. Please reload this page.
-
How can I test Keycloak authentication locally from a mobile app or emulator, considering that localhost is not accessible from the mobile device? For example, I'm using the following URL in my WebView:
http://localhost:8080/realms/bettercity/protocol/openid-connect/auth?redirect_uri=com.example.demo%3A%2F%2Flogin-callback&client_id=go-api&response_type=code&prompt=login&state=KUrzCJR7OudVuKD6FVHhXQ&nonce=w2_ulXxVOAt3LAIZ1fiEqw&scope=openid%20profile%20offline_access&code_challenge=pEjJe4cED7WFXN9rKWopMXUblNOrj_Sqf4UyjvJxScE&code_challenge_method=S256
What are the best practices for setting up the redirect URIs and configuring the server for local development testing, either through an emulator (using 10.0.2.2) or a physical device (using my local IP address)?
Beta Was this translation helpful? Give feedback.
All reactions