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

A user should be able to set RefreshTokenMaxReuse to 0 to enable RevokeRefreshToken #174

Closed
tomrutsaert opened this issue Nov 13, 2019 · 0 comments

Comments

@tomrutsaert
Copy link
Contributor

A user should be able to set RefreshTokenMaxReuse to 0 to enable RevokeRefreshToken
This value is about the amount of times a refresh can be reused, in which 0 is most often chosen value.
But in the code (see below) disables RevokeRefreshToken when you set RefreshTokenMaxReuse to 0.

	if refreshTokenMaxReuse := data.Get("refresh_token_max_reuse").(int); refreshTokenMaxReuse > 0 {
		realm.RevokeRefreshToken = true
		realm.RefreshTokenMaxReuse = refreshTokenMaxReuse
	} else {
		realm.RevokeRefreshToken = false
	}
tomrutsaert pushed a commit to tomrutsaert/terraform-provider-keycloak that referenced this issue Dec 6, 2019
… + support for custom-realm-attributes + bugfix for keycloak#174
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

No branches or pull requests

1 participant