use keycloak providers in my own react login page

92 views
Skip to first unread message

Rúben Martins

unread,
Jun 6, 2023, 9:39:30 AM6/6/23
to Keycloak User
I have a client configured on keycloak and I want to use the indentity providers configured on keycloak my react application without having to use the keycloak adapter. I just want to know how I can get the information related to the provider. For example if I have configured a google provider in the keycloak server I want to be able to get all the data from this provider so I can use it in my login page

Björn Pedersen

unread,
Jun 6, 2023, 9:44:35 AM6/6/23
to Keycloak User
Rúben Martins schrieb am Dienstag, 6. Juni 2023 um 15:39:30 UTC+2:
I have a client configured on keycloak and I want to use the indentity providers configured on keycloak my react application without having to use the keycloak adapter. I just want to know how I can get the information related to the provider.

Without granting admin access to keycloak to everyone, you can't.
 
For example if I have configured a google provider in the keycloak server I want to be able to get all the data from this provider so I can use it in my login page

This is not how OIDC (or SAML)  works. The login page is provided by keycloak(or the configured downstream providers) and  your app should never even see the users credentials. google "keycloakify" if you want to style the keycloak login page like your app.
Reply all
Reply to author
Forward
0 new messages