Keycloak Admin REST API documentation

262 views
Skip to first unread message

Laique Ahmed Sheikh

unread,
Aug 20, 2021, 2:57:38 PM8/20/21
to Keycloak User
I ran into an issue with Keycloak Admin REST API documentation

and this page refers to IdentityProviderRepresentation and within that, there is a config field which is Map but what is the content of the Map is not documented.

I am wondering how folks figured out Map content since  API documentation uses it extensively and of course, MAP would be different for different resources.

Thanks

Laique

Thomas Darimont

unread,
Aug 20, 2021, 3:16:37 PM8/20/21
to Laique Ahmed Sheikh, Keycloak User
Hello Laique,

one way to find the proper values is to configure the IdP manually in the admin console and export the realm afterwards.

You'll find the IdP config values in the generated realm.json file.

Cheers,
Thomas

--
You received this message because you are subscribed to the Google Groups "Keycloak User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/e27f6cf7-0435-4849-a191-fe03dc8ccaa6n%40googlegroups.com.

Ben Shaver

unread,
Aug 21, 2021, 6:54:18 AM8/21/21
to Keycloak User
There is an easier way.
Open the network tab in dev tools, and add an idp.
You can find there your request and just copy the body.
ב-יום שישי, 20 באוגוסט 2021 בשעה 22:16:37 UTC+3, thomas....@googlemail.com כתב/ה:

Laique Ahmed Sheikh

unread,
Aug 31, 2021, 9:45:39 AM8/31/21
to Keycloak User
Thanks for the response, we ended up using the network tab in the dev tools.   Exporting the manually configured IdP would work well

Laique

Reply all
Reply to author
Forward
0 new messages