# Auth0 login page does not trigger in the browser

**URL:** <https://community.auth0.com/t/auth0-login-page-does-not-trigger-in-the-browser/115298>\
**Category:** Get Help\
**Tags:** apis, application\
**Created:** [September 4, 2023, 1:52am UTC](https://community.auth0.com/t/auth0-login-page-does-not-trigger-in-the-browser/115298 "2023-09-04T01:52:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andyql](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/andyql/32/75461_2.png) [@andyql](https://community.auth0.com/u/andyql)\
**Post date:** [September 4, 2023, 1:52am UTC](https://community.auth0.com/t/auth0-login-page-does-not-trigger-in-the-browser/115298/1 "2023-09-04T01:52:06Z")

</div>

the first time when user login, it will be redirected from page to the login page of auth0, but after that, the auth0 page won’t be triggered again on that browser, for different users even. even after logged out from

```auto
res = requests.get(
                f"https://{settings.AUTH0_DOMAIN}/v2/logout?federated",
                headers={"content-type": "application/x-www-form-urlencoded"},
                data={"client_id": settings.AUTH0_CLIENT_ID},
            )

```

with 200 status code.  
on a different browser or incognito page it will show the auth0 login page again.

the login is set up as:

```auto
from authlib.integrations.django_client import OAuth

oauth = OAuth()

oauth.register(
    "auth0",
    client_id=settings.AUTH0_CLIENT_ID,
    client_secret=settings.AUTH0_CLIENT_SECRET,
    client_kwargs={
        "scope": "openid profile email",
        "custom_login_page": ""
    },
    authorize_url=f"https://{settings.AUTH0_DOMAIN}/authorize",
    server_metadata_url=f"https://{settings.AUTH0_DOMAIN}/.well-known/openid-configuration",
)

def login(request):
     return oauth.auth0.authorize_redirect(
                      request, request.build_absolute_uri(reverse("auth0_callback"))
                  )

```

---

<div class="post-metadata">

**Author:** ![andyql](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/andyql/32/75461_2.png) [@andyql](https://community.auth0.com/u/andyql)\
**Post date:** [September 4, 2023, 2:59am UTC](https://community.auth0.com/t/auth0-login-page-does-not-trigger-in-the-browser/115298/2 "2023-09-04T02:59:19Z")

</div>

working now following the flask example.

---

<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:** [September 18, 2023, 3:00am UTC](https://community.auth0.com/t/auth0-login-page-does-not-trigger-in-the-browser/115298/3 "2023-09-18T03:00:11Z")

</div>

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