# Adding command line tools support for user api keys

**URL:** <https://meta.discourse.org/t/adding-command-line-tools-support-for-user-api-keys/103803>\
**Category:** Development\
**Created:** [December 6, 2018, 11:21pm UTC](https://meta.discourse.org/t/adding-command-line-tools-support-for-user-api-keys/103803 "2018-12-06T23:21:13Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![cfitz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cfitz/32/126431_2.png) [@cfitz](https://meta.discourse.org/u/cfitz)\
**Post date:** [December 21, 2018, 11:16am UTC](https://meta.discourse.org/t/adding-command-line-tools-support-for-user-api-keys/103803/20 "2018-12-21T11:16:07Z")

</div>

Ok, looping back to this…

I’ve put something together here : [https://github.com/cfitz/discourse/commit/f5c631d6c4b327cac11d496966d5e394587add6d](https://github.com/cfitz/discourse/commit/f5c631d6c4b327cac11d496966d5e394587add6d)

Makes the auth\_redirect param optional, so that the payload will just be returned after the UserApiKey is created.

Does this look alright?  
Should I add something to allow admins to disable this feature? Should I add some additional text to be displayed in the new.html.erb?

thanks!

---

_[View the full topic](https://meta.discourse.org/t/adding-command-line-tools-support-for-user-api-keys/103803)._
