# Generating User Api Keys with REST API

**URL:** <https://meta.discourse.org/t/generating-user-api-keys-with-rest-api/61916>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [May 1, 2017, 10:55pm UTC](https://meta.discourse.org/t/generating-user-api-keys-with-rest-api/61916 "2017-05-01T22:55:27Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [April 2, 2018, 11:26pm UTC](https://meta.discourse.org/t/generating-user-api-keys-with-rest-api/61916/19 "2018-04-02T23:26:37Z")

</div>

After authorize you will be redirected, so the redirect URL needs to go somewhere where you can handle decrypting the payload it redirects with.

Also there is a site setting that lists where the redirect is allowed to go.

---

_[View the full topic](https://meta.discourse.org/t/generating-user-api-keys-with-rest-api/61916)._
