{"id":41586180,"url":"https://github.com/wiremind/keycloak-actions-token","last_synced_at":"2026-03-10T18:02:02.504Z","repository":{"id":105046637,"uuid":"578569696","full_name":"wiremind/keycloak-actions-token","owner":"wiremind","description":"Adds a generate-action-token Endpoint to Keycloak","archived":false,"fork":false,"pushed_at":"2025-10-27T02:22:09.000Z","size":42,"stargazers_count":9,"open_issues_count":8,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-02-15T06:25:14.706Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wiremind.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-15T11:19:00.000Z","updated_at":"2025-12-09T20:49:14.000Z","dependencies_parsed_at":"2025-02-13T16:30:00.013Z","dependency_job_id":"79d82ef0-d933-47cd-9c79-41ac4d572de1","html_url":"https://github.com/wiremind/keycloak-actions-token","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/wiremind/keycloak-actions-token","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremind%2Fkeycloak-actions-token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremind%2Fkeycloak-actions-token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremind%2Fkeycloak-actions-token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremind%2Fkeycloak-actions-token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wiremind","download_url":"https://codeload.github.com/wiremind/keycloak-actions-token/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wiremind%2Fkeycloak-actions-token/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30346477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-24T09:06:23.006Z","updated_at":"2026-03-10T18:02:02.443Z","avatar_url":"https://github.com/wiremind.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Keycloak actions token\n\nThis extension exposes a custom realm resource to manage action tokens in keycloak.\n\n## Build the example\n```\nmvn clean verify\n```\n\n## Deploy the example\n### Wildfly\nCopy the `.jar` into the keycloak directory `standalone/deployments`\n### Quarkus\nCopy the `.jar` into the keycloak directory `providers`\n\n## Routes\n\n### Generate\n#### Wildfly\n```\nPOST /auth/realms/{realm}/actions-token/generate\n```\n#### Quarkus\n```\nPOST /realms/{realm}/actions-token/generate\n```\n\n#### Description\nRequest an action token for a set of specific actions.\n\n#### Request\n| Type | Name | Required | Description | Schema |\n| :----: | --- | --- | --- | --- |\n| Path | realm | true | realm name (not id!) | string |\n| Body | user_id | true | User that will be asked to perform a set of required actions | string |\n| Body | actions | true | Required actions the user needs to complete. List of [required actions here](https://www.keycloak.org/docs-api/16.0/javadocs/org/keycloak/models/UserModel.RequiredAction.html) | \u003c string \u003e array |\n| Body | lifespan | false | Number of seconds after which the generated token expires | integer(int32) |\n| Body | client_id | false | OAuth client the token was issued for. Defaults to the `account` client. | string |\n| Body | redirect_uri | false | If no redirect is given, then there will be no link back to click after actions have completed. Redirect uri must be a valid uri for the particular `client_id` | string |\n| Body | redirect_uri_validate | false | Bypass `redirect_uri` validation checks for the particular `client_id` | boolean |\n#### Response\n| Type | Name | Required | Description | Schema |\n| :----: | --- | --- | --- | --- |\n| Body | action_token | true | JWT action token signed with the realm's default signature algorithm | string |\n#### Consumes\n- `application/json`\n#### Produces\n- `application/json`\n\n## Useful resources\n- https://github.com/aerogear/keycloak-metrics-spi\n- https://github.com/thomasdarimont/keycloak-avatar-minio-extension\n- https://github.com/keycloak/keycloak-quickstarts/tree/latest/action-token-authenticator\n- https://www.janua.fr/action-token-in-keycloak/\n- https://stackoverflow.com/questions/67006007/how-to-generate-and-use-login-action-token-for-keycloak-user-update-profile-in-e\n- https://github.com/keycloak/keycloak/blob/264c5a6cdb2fb86e20536ea4302d20160ca01919/services/src/main/java/org/keycloak/services/resources/admin/UserResource.java#L826\n- https://stackoverflow.com/a/67636834\n- https://github.com/dteleguin/beercloak/blob/master/beercloak-module/src/main/java/beercloak/providers/BeerResourceProvider.java\n- https://github.com/dteleguin/beercloak/blob/master/beercloak-module/src/main/java/beercloak/resources/AbstractAdminResource.java\n- https://github.com/keycloak/keycloak/blob/1ed81fa3772220cb8018654e40645f981c934da6/services/src/main/java/org/keycloak/services/resources/admin/AdminRoot.java#L156\n- https://github.com/keycloak/keycloak/blob/264c5a6cdb2fb86e20536ea4302d20160ca01919/services/src/main/java/org/keycloak/services/resources/admin/UsersResource.java#L284\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiremind%2Fkeycloak-actions-token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwiremind%2Fkeycloak-actions-token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiremind%2Fkeycloak-actions-token/lists"}