# How to do manual login?

**URL:** <https://community.auth0.com/t/how-to-do-manual-login/99940>\
**Category:** Get Help\
**Tags:** classic-universal-login-experience, login-experience\
**Created:** [February 7, 2023, 9:01pm UTC](https://community.auth0.com/t/how-to-do-manual-login/99940 "2023-02-07T21:01:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![websanova](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/websanova/32/44385_2.png) [@websanova](https://community.auth0.com/u/websanova)\
**Post date:** [February 7, 2023, 9:01pm UTC](https://community.auth0.com/t/how-to-do-manual-login/99940/1 "2023-02-07T21:01:11Z")

</div>

Hello,

I managed to get signup working manually by making direct calls to the api from my front end using:

[https://auth0.com/docs/api/authentication#signup](https://auth0.com/docs/api/authentication#signup)

However, I’m not seeing a way to login directly from my SPA front-end. Is there any way to login directly from my SPA front-end by just supplying an email & password and getting back a token or something?

---

<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:** [February 8, 2023, 12:25am UTC](https://community.auth0.com/t/how-to-do-manual-login/99940/3 "2023-02-08T00:25:34Z")

</div>

Hey there @websanova welcome to the community!

Long story short, you shouldn’t use ROPG in a SPA. Instead you will want to use auth code + PKCE:

> **[Which OAuth 2.0 Flow Should I Use?](https://auth0.com/docs/get-started/authentication-and-authorization-flow/which-oauth-2-0-flow-should-i-use#is-the-client-a-single-page-app-)**
>
> Learn how to identify the proper OAuth 2.0 flow for your use case.

---

<div class="post-metadata">

**Author:** ![websanova](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/websanova/32/44385_2.png) [@websanova](https://community.auth0.com/u/websanova)\
**Post date:** [February 8, 2023, 2:42pm UTC](https://community.auth0.com/t/how-to-do-manual-login/99940/4 "2023-02-08T14:42:58Z")

</div>

Ok thx, that is what I suspected, but Just thought I’d ask. I think in the end we’ll just use templates and customize through there.

---

<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:** [February 8, 2023, 4:47pm UTC](https://community.auth0.com/t/how-to-do-manual-login/99940/5 "2023-02-08T16:47:34Z")

</div>

No problem, happy to help!

---

<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:** [February 22, 2023, 4:48pm UTC](https://community.auth0.com/t/how-to-do-manual-login/99940/6 "2023-02-22T16:48:29Z")

</div>

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