# Custom domain still not working

**URL:** <https://community.auth0.com/t/custom-domain-still-not-working/106367>\
**Category:** Get Help\
**Tags:** custom-domains-flows, branding\
**Created:** [May 8, 2023, 3:21am UTC](https://community.auth0.com/t/custom-domain-still-not-working/106367 "2023-05-08T03:21:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amohajerani](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/amohajerani/32/46984_2.png) [@amohajerani](https://community.auth0.com/u/amohajerani)\
**Post date:** [May 8, 2023, 3:21am UTC](https://community.auth0.com/t/custom-domain-still-not-working/106367/1 "2023-05-08T03:21:56Z")

</div>

I have a regular web application built with Flask, and I am using the universal login page (I have done some styling updates to the default page). I have successfully set up custom domain and pass the test in Branding-\>Custom Domains page.

When I try to log in though, this update does not appear on the address bar and I still see auth0 url. [This](https://auth0.com/docs/customize/custom-domains/configure-features-to-use-custom-domains) page does not say how to do this for a python code with universal login page. Could someone give me examples/pointers?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [May 8, 2023, 6:26pm UTC](https://community.auth0.com/t/custom-domain-still-not-working/106367/2 "2023-05-08T18:26:38Z")

</div>

Hi @amohajerani.

Welcome to the Auth0 Community!

> [@amohajerani](#):
>
> When I try to log in though, this update does not appear on the address bar and I still see auth0 url.

When using the Python Flask SDK with custom domains, you must make sure to change the `AUTH0_DOMAIN` definition in your `/.env` file.

After that is done, it should open the login page with your custom domain in the URL structure:

```auto
https://{YOUR_CUSTOM_DOMAIN}/authorize?
    response_type=code&
    client_id={yourClientId}&
    redirect_uri={https://yourApp/callback}&
    scope={scope}&
    audience={apiAudience}&
    state={state}

```

As an additional test, you could paste the `/authorize` URL with your custom domain into a browser and see that it works.

I hope this helps!

Please let me know if you have any questions.

Thanks,  
Rueben

---

<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:** [May 22, 2023, 6:27pm UTC](https://community.auth0.com/t/custom-domain-still-not-working/106367/3 "2023-05-22T18:27:09Z")

</div>

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