# \#encoding

**URL:** https://community.auth0.com/tag/encoding/1359.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Actions - How to sign JWT with RS256?](https://community.auth0.com/t/actions-how-to-sign-jwt-with-rs256/84920)

<div class="topic-metadata">

**Author:** [@k.lee](https://community.auth0.com/u/k.lee)\
**Replies:** 2\
**Last updated:** [June 10, 2022, 10:34pm UTC](https://community.auth0.com/t/actions-how-to-sign-jwt-with-rs256/84920 "2022-06-10T22:34:10Z")

</div>

I’m using a post-login action redirect and attempting to send a session\_token as a query param to the redirect URL. With HS, you could use api.redirect.encodeToken while passing in a secret, but what is the equivalent fo…
