You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to programmatically migrate authentication flow between realms/servers
#40079
I am managing multiple keycloak servers, each with multiple realms. We have developed a custom authentication flow to be used with our applications, and would like to easily recreate this flow across all keycloak servers and realms. As far as I can tell, when importing a new realm from scratch, authentication flows are imported, but when performing a "partial" realm import via the UI, authentication flows are not included in this process. Calling the update API endpoint on a realm also doesn't seem to have an effect on the authentication flows.
What is the recommended way to programmatically import authentication flows between systems? I assume a script could be written to do this via the API, but I'm hoping that there's a simpler way.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I am managing multiple keycloak servers, each with multiple realms. We have developed a custom authentication flow to be used with our applications, and would like to easily recreate this flow across all keycloak servers and realms. As far as I can tell, when importing a new realm from scratch, authentication flows are imported, but when performing a "partial" realm import via the UI, authentication flows are not included in this process. Calling the update API endpoint on a realm also doesn't seem to have an effect on the authentication flows.
What is the recommended way to programmatically import authentication flows between systems? I assume a script could be written to do this via the API, but I'm hoping that there's a simpler way.
All reactions