Skip to content
main
Switch branches/tags
Code

Latest commit

Adding tested KeyCloak Version 15.0.2 (20.08.2021)
89db5c0

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
Sep 11, 2021
Sep 11, 2021
Sep 11, 2021

Keycloak extension to add an expiration date to a user role mapping

This keycloak extension adds an expiration date to the existing user role mapping. If the expiration date is reached, the mapping will be automatically removed from the database.

Tested Version

Keycloak 15.0.2 (20.08.2021)

API

[GET] /user-role-expirations/api/users/{userId}/user-role-expirations

Return a list of all client for the realm and its client roles. Additionally each role has active flag and an optional expirationDate.

[POST] /user-role-expirations/api/users/{userId}/user-role-expirations

Creates or updates the given UserRoleExpirationDto for the user.

Contributing

Take a look into the contribution guidelines.

License

This code is under the Apache License, Version 2.0, January 2004.

About

Adding timebased rolemapping to keycloak

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published