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

brute-force-detection-settings + ssl_required + custom-realm-attributes + fix 174 + k8.0.0 #183

Conversation

tomrutsaert
Copy link
Contributor

support for brute-force-detection-settings
support for ssl_required
support for custom-realm-attributes
bugfix for #174
upgrade to keycloak 8.0.0

@tomrutsaert
Copy link
Contributor Author

tomrutsaert commented Dec 6, 2019

The change of behavior of revoke refresh tokens settings should be mentioned in the release notes.

@tomrutsaert
Copy link
Contributor Author

@mrparkers Did you have a chance to look at this PR? Do you have any remarks?

Copy link
Contributor

@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.

Apologies for the late review - I have been pretty busy lately. I just had one comment for this PR, thanks!

//extra attributes of a realm
Attributes map[string]interface{} `json:"attributes"`

BrowserSecurityHeaders BrowserSecurityHeaders `json:"browserSecurityHeaders"`
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this a breaking change in Keycloak's API? It looks like we were using _browser_header before - is that going to break this provider's compatibility with older versions of Keycloak?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The Realm tests stills work if I run on ac test with 'make local' and docker-compose pointing to keycloak version 4.8.3.Final
There 2 ways of setting these parameters, The UI is using the way above
I have no idea why there are 2 ways to do this. If you set both ways at the same time with different values, then setting it directly as a real parameters wins from setting it through the attributes.
Thus this seems to be the safer bet and a more correct way to do it through this method.

Copy link
Contributor

@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.

Thanks for the PR!

@mrparkers mrparkers merged commit 4e82da7 into keycloak:master Dec 18, 2019
@tomrutsaert tomrutsaert deleted the brute_force_detection_requiressl_custom_realm_attributes branch December 18, 2019 15:23
@mrparkers mrparkers mentioned this pull request Dec 18, 2019
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