# ActionTokenHandler examples

**URL:** <https://forum.keycloak.org/t/actiontokenhandler-examples/8773>\
**Category:** Extending the server\
**Created:** [April 28, 2021, 7:23pm UTC](https://forum.keycloak.org/t/actiontokenhandler-examples/8773 "2021-04-28T19:23:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xgp](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/xgp/32/2589_2.png) [@xgp](https://forum.keycloak.org/u/xgp)\
**Post date:** [April 28, 2021, 7:23pm UTC](https://forum.keycloak.org/t/actiontokenhandler-examples/8773/1 "2021-04-28T19:23:37Z")

</div>

Other than the docs [https://www.keycloak.org/docs/latest/server\_development/#\_action\_token\_spi](https://www.keycloak.org/docs/latest/server_development/#_action_token_spi), is anyone aware of concrete examples of custom ActionToken/ActionTokenHandler implementations?

---

<div class="post-metadata">

**Author:** ![dasniko](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/dasniko/32/2969_2.png) [@dasniko](https://forum.keycloak.org/u/dasniko)\
**Post date:** [April 28, 2021, 7:29pm UTC](https://forum.keycloak.org/t/actiontokenhandler-examples/8773/2 "2021-04-28T19:29:06Z")

</div>

I implemented it once for a customer as a kind of magic login link.  
And I’ve seen it has been used as custom registration thing, where the user was “registered” through a third party and has to “finish” this registration. There was also an action token link used.

But sorry, no public code examples available.
