Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cookiejar on Keycloak API requests #173

Merged
merged 1 commit into from
Nov 8, 2019
Merged

Use cookiejar on Keycloak API requests #173

merged 1 commit into from
Nov 8, 2019

Conversation

alexashley
Copy link
Contributor

Most likely due to either configuration issues with our cache or a bug in Keycloak itself, we've been seeing 404s immediately after resource creation (mainly with client scope mappers).
This causes the provider to immediately remove the newly-created resource from state, which makes subsequent applies either fail or duplicate resources.

As a temporary workaround we enabled sticky sessions and changed the provider to persist and send cookies. While we'd like to figure this out and remove sticky sessions from our loadbalancer, it also seemed like it might be useful if the provider utilized sticky sessions if they were configured.

Copy link
Owner

@mrparkers mrparkers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the PR!

@mrparkers mrparkers merged commit 7db5dba into mrparkers:master Nov 8, 2019
@alexashley alexashley deleted the cookie-jar branch November 8, 2019 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants