# How to Use handleLogin with @auth0/nextjs-auth0 in Next.js

**URL:** <https://community.auth0.com/t/how-to-use-handlelogin-with-auth0-nextjs-auth0-in-next-js/116900>\
**Category:** Get Help\
**Tags:** clients, management-api\
**Created:** [September 22, 2023, 12:30am UTC](https://community.auth0.com/t/how-to-use-handlelogin-with-auth0-nextjs-auth0-in-next-js/116900 "2023-09-22T00:30:39Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [February 18, 2025, 6:23pm UTC](https://community.auth0.com/t/how-to-use-handlelogin-with-auth0-nextjs-auth0-in-next-js/116900/3 "2025-02-18T18:23:06Z")

</div>

Hi @Hiroshi0900

Welcome to the Auth0 Community!

I am sorry about the late reply to your inquiry!

I would recommend to review this community post regarding [retrieving the access token](https://community.auth0.com/t/auth0-nextjs-get-accesstoken-without-ssr/147818) and check out our [Github documentation for NextJS](https://auth0.github.io/nextjs-auth0/modules.html) in order to read more about the `handleLogin()` function since you might not be passing the correct scopes/audience to your CURL call.

If you have any other questions, feel free to let me know or post again on the community!

Kind Regards,  
Nik

---

_[View the full topic](https://community.auth0.com/t/how-to-use-handlelogin-with-auth0-nextjs-auth0-in-next-js/116900)._
