
SjoerdO.74913 (Customer) asked a question.
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.

Hi Sjoerd,
Check out this document: https://developer.okta.com/docs/reference/api/users/
Let us know if this is helpful!
Thanks,
Tim
Okta Inc
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
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.