<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00009zaxuTSAQOkta Classic EngineAdministrationAnswered2021-01-18T08:20:27.000Z2020-11-24T08:05:24.000Z2021-01-18T08:20:27.000Z

SjoerdO.74913 (Customer) asked a question.

Create a new user via authn API

Hi,

I would like to create new users via the authn API, but I don't think it's possible? Logging in via the authn api endpoint works fine, but that doesn't allow me to create users as far as I can tell?

 

The "real" API keys are not acceptable because I need to integrate user creation into local scripts that are shared between admins, having a "real" API key near those scripts is a no-go beause of the security implications.

 

 


    • Hey Tim,

       

      I have the same requirement as Sjoerd. I looked at the user apis in the URL you provided, but they easy seem to need an API token.

       

      I was hoping to create a user via an API call "anonymously" like a public signup form would do without the need for an API token. Embedding an API token feels dangerous and any expiration on that embedded token would not be good given the token must be hard coded in the app.

       

      Perhaps I don't have a good understanding of the various types of API tokens if the users API is still the answer to the question.

       

      Thanks

      Expand Post
  • SjoerdO.74913 (Customer)

    The only way I've found to do this is to use a full blow API key, which has full privileges. How to store that key safely on-prem is a dilemma that I do not have a good answer to for my own situation.

     

    A way to limit API keys in their access would be a good solution.

This question is closed.
Loading
Create a new user via authn API