# CORS issue with logout on nuxt

**URL:** <https://community.auth0.com/t/cors-issue-with-logout-on-nuxt/134754>\
**Category:** Get Help\
**Tags:** application, sso\
**Created:** [May 22, 2024, 4:45pm UTC](https://community.auth0.com/t/cors-issue-with-logout-on-nuxt/134754 "2024-05-22T16:45:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![scott.miller](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/scott.miller/32/48816_2.png) [@scott.miller](https://community.auth0.com/u/scott.miller)\
**Post date:** [May 22, 2024, 4:45pm UTC](https://community.auth0.com/t/cors-issue-with-logout-on-nuxt/134754/1 "2024-05-22T16:45:22Z")

</div>

Ready to post? 🔍 First, try searching for your answer.  
CORS issue when logging out from a frontend nuxt application.

I am making a call to auth0 like so:

```auto
    await $fetch(
        encodeURI(
            `${config.public.auth0Url}/v2/logout?clientId=${config.public.auth0ClientId}&redirectTo=${config.public.auth0Redirect}`
        )

```

which boils down to [https://terminal-local.us.auth0.com/v2/logout?clientId=loCSA67UxCtWV5qAtISGAofxmHrPMP2A&redirectTo=http://localhost:3000](https://terminal-local.us.auth0.com/v2/logout?clientId=loCSA67UxCtWV5qAtISGAofxmHrPMP2A&redirectTo=http://localhost:3000) for me.

When i call this in another tab, it works. I have made sure to add this url to the allowed logouts, and allowed origins. This works fine for login, but I can’t get around the CORS for this issue .Here is a screenshot of the allowed urls.

 ![Screenshot 2024-05-22 at 12.44.57 PM](https://global.discourse-cdn.com/auth0/original/3X/5/a/5a37f6b206699fe4f8a5aca01f9646d418c3dc0b.png)

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [October 31, 2025, 2:18pm UTC](https://community.auth0.com/t/cors-issue-with-logout-on-nuxt/134754/5 "2025-10-31T14:18:50Z")

</div>

Hi team!

The first public beta of the Auth0 Nuxt SDK is now available for developers building web apps on the **Nuxt** framework!

### Key Highlights

- **Idiomatic Nuxt 3 Experience:** Simple, composable functions (useAuth0) that feel native to Nuxt developers, dramatically reducing time-to-first-login.
- **Advanced Security Out-of-the-Box:** We’ve included support for the latest security standards from day one, including Pushed Authorization Requests (PAR), Rich Authorization Requests (RAR), and Backchannel Logout.
- **Powerful API Authentication:** Seamlessly obtain tokens for backend APIs using the TokenVault integration.

### Resources

Here are the helpful resources to explore the new Nuxt SDK and get started:

- [Quickstart](https://auth0.mintlify.app/docs/quickstart/webapp/nuxt)
- [Examples](https://github.com/auth0/auth0-nuxt/tree/main/examples)

This SDK is still in Beta and we need your feedback! Please share any feedback, questions or comments on [GitHub](https://github.com/auth0/auth0-nuxt).

Thanks!  
Dawid

---

<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:** [November 14, 2025, 2:18pm UTC](https://community.auth0.com/t/cors-issue-with-logout-on-nuxt/134754/6 "2025-11-14T14:18:54Z")

</div>

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