# Unexpected Redirect Behavior After Successful Authentication in OAuth 2.0 Integration

**URL:** <https://devforum.okta.com/t/unexpected-redirect-behavior-after-successful-authentication-in-oauth-2-0-integration/27893>\
**Category:** OAuth/OIDC\
**Created:** [April 24, 2024, 9:13am UTC](https://devforum.okta.com/t/unexpected-redirect-behavior-after-successful-authentication-in-oauth-2-0-integration/27893 "2024-04-24T09:13:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ammulekshmi](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@Ammulekshmi](https://devforum.okta.com/u/Ammulekshmi)\
**Post date:** [April 24, 2024, 9:13am UTC](https://devforum.okta.com/t/unexpected-redirect-behavior-after-successful-authentication-in-oauth-2-0-integration/27893/1 "2024-04-24T09:13:55Z")

</div>

In our application, we’ve integrated OAuth 2.0 and OpenID Connect for authentication. During development, we followed these steps:

> **[OAuth 2.0 and OpenID Connect overview | Okta Developer](https://developer.okta.com/docs/concepts/oauth-openid/#choose-an-oauth-2-0-flow)**
>
> Secure, scalable, and highly available authentication and user management for any app.

1. Updated the Application Type in the Okta client application to “Web.”
2. Configured Redirect URIs in the Okta application for both local and live URLs.
3. Set up group claims within the Okta account.

However, after successful authentication(Sign In with google) in our application with the Admin credentials, it consistently redirects to the Okta account application dashboard instead of our configured application Redirect URIs. We need to investigate why this behavior is occurring.

Need attention, Please help

Thanks,  
Ammulekshmi

---

<div class="post-metadata">

**Author:** ![piyusha](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@piyusha](https://devforum.okta.com/u/piyusha)\
**Post date:** [April 29, 2024, 6:20am UTC](https://devforum.okta.com/t/unexpected-redirect-behavior-after-successful-authentication-in-oauth-2-0-integration/27893/2 "2024-04-29T06:20:09Z")

</div>

Please review this response from my colleague to see if it helps you - [Redirect Issue: Successfully Logging in with Okta but Redirected to Okta Dev Dashboard Instead of redirectUri - #2 by andrea](https://devforum.okta.com/t/redirect-issue-successfully-logging-in-with-okta-but-redirected-to-okta-dev-dashboard-instead-of-redirecturi/26502/2).

If it doesn’t help, please open a support case via the support portal or by emailing [developers@okta.com](mailto:developers@okta.com). We will likely need to review your case in more detail.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [May 29, 2024, 6:20am UTC](https://devforum.okta.com/t/unexpected-redirect-behavior-after-successful-authentication-in-oauth-2-0-integration/27893/3 "2024-05-29T06:20:44Z")

</div>

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