# Setup application that provides Client ID & Secret to User

**URL:** <https://community.auth0.com/t/setup-application-that-provides-client-id-secret-to-user/121287>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [November 20, 2023, 7:47pm UTC](https://community.auth0.com/t/setup-application-that-provides-client-id-secret-to-user/121287 "2023-11-20T19:47:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![inna](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/inna/32/50412_2.png) [@inna](https://community.auth0.com/u/inna)\
**Post date:** [November 20, 2023, 7:47pm UTC](https://community.auth0.com/t/setup-application-that-provides-client-id-secret-to-user/121287/1 "2023-11-20T19:47:01Z")

</div>

HI there,

I want to be able to produce some sort of login keys(kind of like the client and secret id) for my users on the web when they register in my application.  
The idea is that they can then take these keys and use it for our CLI tool.

For now we’re created an app for our app and calling Auth0 API to create client id and secret for each user that registers. It creates a separate application for each user that we have.

My hunch is that this is not the proper usage of that flow. Is there any better way to do this?

Thanks!

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [November 20, 2023, 10:57pm UTC](https://community.auth0.com/t/setup-application-that-provides-client-id-secret-to-user/121287/3 "2023-11-20T22:57:21Z")

</div>

Hey there @inna !

> [@inna](#):
>
> For now we’re created an app for our app and calling Auth0 API to create client id and secret for each user that registers. It creates a separate application for each user that we have.
> 
> My hunch is that this is not the proper usage of that flow. Is there any better way to do this?

In the context of Auth0 it does sound to me like you are going about this the right way. Please see:

[https://community.auth0.com/t/auth0-support-for-api-keys-and-personal-access-tokens/98175](https://community.auth0.com/t/auth0-support-for-api-keys-and-personal-access-tokens/98175)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 4, 2023, 10:57pm UTC](https://community.auth0.com/t/setup-application-that-provides-client-id-secret-to-user/121287/4 "2023-12-04T22:57:58Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
