# Infinite Redirect To Login Page instead of going to Callback Page With Auth Code

**URL:** <https://devforum.okta.com/t/infinite-redirect-to-login-page-instead-of-going-to-callback-page-with-auth-code/26342>\
**Category:** OAuth/OIDC\
**Tags:** dotnet\
**Created:** [January 12, 2024, 9:17am UTC](https://devforum.okta.com/t/infinite-redirect-to-login-page-instead-of-going-to-callback-page-with-auth-code/26342 "2024-01-12T09:17:41Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![anishme](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@anishme](https://devforum.okta.com/u/anishme)\
**Post date:** [January 19, 2024, 6:01am UTC](https://devforum.okta.com/t/infinite-redirect-to-login-page-instead-of-going-to-callback-page-with-auth-code/26342/6 "2024-01-19T06:01:01Z")

</div>

Hi there,

I used following for a work around.  
You can try this:

 ![image](https://global.discourse-cdn.com/oktadev/original/2X/a/a8c6318025c3efb02707ed36b8c2218b13459a39.png)

---

_[View the full topic](https://devforum.okta.com/t/infinite-redirect-to-login-page-instead-of-going-to-callback-page-with-auth-code/26342)._
