# Can't redirect to logout adress

**URL:** <https://community.auth0.com/t/cant-redirect-to-logout-adress/99926>\
**Category:** Get Help\
**Tags:** sdks-quickstarts, auth0net\
**Created:** [February 7, 2023, 6:45pm UTC](https://community.auth0.com/t/cant-redirect-to-logout-adress/99926 "2023-02-07T18:45:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![henriqueraizza](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/henriqueraizza/32/44422_2.png) [@henriqueraizza](https://community.auth0.com/u/henriqueraizza)\
**Post date:** [February 7, 2023, 6:45pm UTC](https://community.auth0.com/t/cant-redirect-to-logout-adress/99926/1 "2023-02-07T18:45:58Z")

</div>

I’m currently using the quickstart RedirectToIdentityProvider procedure for a OWIN regular web application that can be found here: [Auth0 ASP.NET (OWIN) SDK Quickstarts: Login](https://auth0.com/docs/quickstart/webapp/aspnet-owin/01-login#configure-your-application-to-use-auth0)  
i’ve also added to Allowed Logout URL’S the appropriate URL that comes after ReturnTo, the problem is that this URL (generated by: notification.ProtocolMessage.PostLogoutRedirectUri) has a stack of two protocols (“[https://https](https://https)://”) so when i logout, i get a DNS\_PROBE\_FINISHED\_NXDOMAIN where it claims that the typing of the protocol is probably wrong (because of the stack) i’ve tried to brute force the same adress with only one protocol (and change it in allowed logout urls) but it also results in an error, i’d really apreciate any help to get my logout redirecting back to identity correctly!

---

<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:** [February 8, 2023, 1:18pm UTC](https://community.auth0.com/t/cant-redirect-to-logout-adress/99926/2 "2023-02-08T13:18:41Z")

</div>

Hey there!

Can I ask you to raise it as a GitHub issue here:

> **[auth0-aspnet-owin-mvc-samples/Quickstart/01-Login at master ·...](https://github.com/auth0-samples/auth0-aspnet-owin-mvc-samples/tree/master/Quickstart/01-Login)**
>
> master/Quickstart/01-Login

as it will be the most effective way to handle that cause we will have a chance to discuss it directly with the quickstart maintainers. once you have a link to it please share it here so we can ping them. Thank you!

---

<div class="post-metadata">

**Author:** ![henriqueraizza](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/henriqueraizza/32/44422_2.png) [@henriqueraizza](https://community.auth0.com/u/henriqueraizza)\
**Post date:** [February 8, 2023, 5:03pm UTC](https://community.auth0.com/t/cant-redirect-to-logout-adress/99926/3 "2023-02-08T17:03:14Z")

</div>

> [@henriqueraizza](#):
>
> I’m currently using the quickstart RedirectToIdentityProvider procedure for a OWIN regular web application that can be found here: [Auth0 ASP.NET (OWIN) SDK Quickstarts: Login](https://auth0.com/docs/quickstart/webapp/aspnet-owin/01-login#configure-your-application-to-use-auth0)  
> i’ve also added to Allowed Logout URL’S the appropriate URL that comes after ReturnTo, the problem is that this URL (generated by: notification.ProtocolMessage.PostLogoutRedirectUri) has a stack of two protocols (“[https://https](https://https)://”) so when i logout, i get a DNS\_PROBE\_FINISHED\_NXDOMAIN where it claims that the typing of the protocol is probably wrong (because of the stack) i’ve tried to brute force the same adress with only one protocol (and change it in allowed logout urls) but it also results in an error, i’d really apreciate any help to get my logout redirecting back to identity correctly!

> <https://github.com/auth0-samples/auth0-aspnet-owin-mvc-samples/issues/363>
>
> I’m currently using the quickstart RedirectToIdentityProvider procedure for a OW…IN regular web application.
> I’ve also added to Allowed Logout URL’S the appropriate URL that comes after ReturnTo in my test application, the problem is that this URL (generated by: notification.ProtocolMessage.PostLogoutRedirectUri) has a stack of two protocols (“https://https/://”) so when i logout, i get a DNS\_PROBE\_FINISHED\_NXDOMAIN where it claims that the typing of the protocol is probably wrong (because of the stack) i’ve tried to brute force the same adress with only one protocol (and change it in allowed logout urls) but it also results in an error, i’d really apreciate any help to get my logout redirecting back to identity correctly!

Here it is!

---

<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:** [February 9, 2023, 10:06am UTC](https://community.auth0.com/t/cant-redirect-to-logout-adress/99926/4 "2023-02-09T10:06:31Z")

</div>

Perfect thanks! I’m gonna ping the repo maintainers in a few minutes!

---

<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:** [February 23, 2023, 10:07am UTC](https://community.auth0.com/t/cant-redirect-to-logout-adress/99926/5 "2023-02-23T10:07:21Z")

</div>

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