# This site can’t provide a secure connection

**URL:** <https://community.auth0.com/t/this-site-can-t-provide-a-secure-connection/81495>\
**Category:** Get Help\
**Created:** [April 9, 2022, 10:09am UTC](https://community.auth0.com/t/this-site-can-t-provide-a-secure-connection/81495 "2022-04-09T10:09:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mxcdh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mxcdh/32/36495_2.png) [@mxcdh](https://community.auth0.com/u/mxcdh)\
**Post date:** [April 9, 2022, 10:09am UTC](https://community.auth0.com/t/this-site-can-t-provide-a-secure-connection/81495/1 "2022-04-09T10:09:09Z")

</div>

Hello

I have problem with secure connection in my project.  
Bellow my setup and code:  
[![error](https://global.discourse-cdn.com/auth0/original/3X/1/5/159c827fcb4609330eb1c789d7f08c70d7d2201d.jpeg)](https://user-images.githubusercontent.com/98115983/162567099-80276aa7-546d-40e1-aa77-ea7a52001ec1.png)

[![auth0](https://global.discourse-cdn.com/auth0/original/3X/0/6/063d58f1b8db1d72d1c9ebb98effe4c930c03cc3.jpeg)](https://user-images.githubusercontent.com/98115983/162567061-b9d46fbd-c568-4406-a253-445be708da5a.png)

What is wrong?

p.s  
My code base on this tutorial:  
[https://thetechhulk.com/auth0-and-next-js-authentication-complete-guide](https://thetechhulk.com/auth0-and-next-js-authentication-complete-guide)

---

<div class="post-metadata">

**Author:** ![jeff0](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jeff0/32/30027_2.png) [@jeff0](https://community.auth0.com/u/jeff0)\
**Post date:** [April 9, 2022, 2:28pm UTC](https://community.auth0.com/t/this-site-can-t-provide-a-secure-connection/81495/2 "2022-04-09T14:28:33Z")

</div>

Hi @mxcdh

Welcome to Auth0 Community !!!

It is always recommended to run apps on HTTPS even when running on localhost. It is very simple to run HTTPS locally simply follow this guide. [https://auth0.com/docs/libraries/secure-local-development](https://auth0.com/docs/libraries/secure-local-development)

After running HTTPS locally, simply change all your callbacks in the Auth0 dashboard to follow HTTPS protocol.

Let us know how you go.

Thanks  
Jeff

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [April 11, 2022, 8:12am UTC](https://community.auth0.com/t/this-site-can-t-provide-a-secure-connection/81495/3 "2022-04-11T08:12:52Z")

</div>

Thanks for helping on this one Jeff!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [April 28, 2022, 11:22am UTC](https://community.auth0.com/t/this-site-can-t-provide-a-secure-connection/81495/4 "2022-04-28T11:22:48Z")

</div>


