Logging in without a browser

I’m hoping to use Auth0 for a game I’m developing in.

Our team would like to use Auth0 to authenticate a user from within Unreal Engine.

From this environment, we are able to issue plain web requests and read responses.

I’m wondering if there is a simple way to get an accessToken for a user with a simple request like

POST /someEndpoint
username=someuser&password=somePassword

All of the examples I’ve found require the use of a browser and require that there is a callback URL available in a web app.

Am I able to login in this context?

Hi @john6,

The resource owner password grant allows this type of request. It is not recommended for a few reasons, and I suggest you read the documentation and decide if it fits your use case, along with warning about the flow.

1 Like

Thanks Dan, I think this will work for our use case. I appreciate your response and your explanation of the risk involved.

1 Like

No problem! Let us know if you have any other questions!

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