# Logging in without a browser

**URL:** <https://community.auth0.com/t/logging-in-without-a-browser/49980>\
**Category:** Get Help\
**Tags:** login\
**Created:** [September 17, 2020, 9:37pm UTC](https://community.auth0.com/t/logging-in-without-a-browser/49980 "2020-09-17T21:37:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![john6](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john6/32/24298_2.png) [@john6](https://community.auth0.com/u/john6)\
**Post date:** [September 17, 2020, 9:37pm UTC](https://community.auth0.com/t/logging-in-without-a-browser/49980/1 "2020-09-17T21:37:47Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 18, 2020, 8:27pm UTC](https://community.auth0.com/t/logging-in-without-a-browser/49980/3 "2020-09-18T20:27:20Z")

</div>

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.

> **[Resource Owner Password Flow](https://auth0.com/docs/get-started/authentication-and-authorization-flow/resource-owner-password-flow)**
>
> Learn how the Resource Owner Password flow works and why you should use it for highly-trusted applications.

---

<div class="post-metadata">

**Author:** ![john6](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john6/32/24298_2.png) [@john6](https://community.auth0.com/u/john6)\
**Post date:** [September 22, 2020, 6:33pm UTC](https://community.auth0.com/t/logging-in-without-a-browser/49980/4 "2020-09-22T18:33:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 22, 2020, 9:50pm UTC](https://community.auth0.com/t/logging-in-without-a-browser/49980/5 "2020-09-22T21:50:44Z")

</div>

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

---

<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:** [October 7, 2020, 9:50pm UTC](https://community.auth0.com/t/logging-in-without-a-browser/49980/6 "2020-10-07T21:50:49Z")

</div>

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