# Auth0 authorize endpoint keeps going to http instead of https

**URL:** <https://community.auth0.com/t/auth0-authorize-endpoint-keeps-going-to-http-instead-of-https/117677>\
**Category:** Get Help\
**Tags:** cross-origin-authentication, protocols\
**Created:** [October 3, 2023, 2:35pm UTC](https://community.auth0.com/t/auth0-authorize-endpoint-keeps-going-to-http-instead-of-https/117677 "2023-10-03T14:35:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![webmaster9](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@webmaster9](https://community.auth0.com/u/webmaster9)\
**Post date:** [October 3, 2023, 2:35pm UTC](https://community.auth0.com/t/auth0-authorize-endpoint-keeps-going-to-http-instead-of-https/117677/1 "2023-10-03T14:35:24Z")

</div>

Hi there,

We are using cloudflare with auth0 authentication and for some reason, the redirect uri is using http instead of https, we have tried adding http forwarder in our program.cs to no success. Any help is appreciated!

 ![image](https://global.discourse-cdn.com/auth0/original/3X/9/e/9e7788055e4dfa89f81f8e0a67c1df00b8624693.png)

Thanks

---

<div class="post-metadata">

**Author:** ![webmaster9](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@webmaster9](https://community.auth0.com/u/webmaster9)\
**Post date:** [October 4, 2023, 2:27pm UTC](https://community.auth0.com/t/auth0-authorize-endpoint-keeps-going-to-http-instead-of-https/117677/2 "2023-10-04T14:27:35Z")

</div>

Solved by forcing https

> [@Cannot authenticate Regular App using .NET Core SDK deployed in k8s behind reverse proxy with SSL termination](https://community.auth0.com/t/cannot-authenticate-regular-app-using-net-core-sdk-deployed-in-k8s-behind-reverse-proxy-with-ssl-termination/72991/3):
>
> Could you, please, advise in which repo should I create an issue? I see auth0-aspnet and [auth0.net](http://auth0.net). Could you, please, drop a link to correct GitHub repo?

.Net core open id cookie was not secure as well, have to be set as secure in program.cs

---

<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:** [October 18, 2023, 2:27pm UTC](https://community.auth0.com/t/auth0-authorize-endpoint-keeps-going-to-http-instead-of-https/117677/3 "2023-10-18T14:27:38Z")

</div>

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