# Incorrect redirection of okta url

**URL:** <https://devforum.okta.com/t/incorrect-redirection-of-okta-url/19253>\
**Category:** Questions\
**Created:** [February 6, 2022, 2:17am UTC](https://devforum.okta.com/t/incorrect-redirection-of-okta-url/19253 "2022-02-06T02:17:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![temp](https://avatars.discourse-cdn.com/v4/letter/t/f04885/32.png) [@temp](https://devforum.okta.com/u/temp)\
**Post date:** [February 6, 2022, 2:17am UTC](https://devforum.okta.com/t/incorrect-redirection-of-okta-url/19253/1 "2022-02-06T02:17:08Z")

</div>

I have created an “app integration” in my okta dev account and when i access the below link using Chrome browser it lands me on “getting-started” page of okta instead of particular application integration url after okta sso authentication. why so? due to this okta is not redirecting back to my SP.

[https://dev-02887686.okta.com/app/dev-02887686\_testflaskapp\_1/exk2zsnf574m2JD4w5d7/sso/saml](https://dev-02887686.okta.com/app/dev-02887686_testflaskapp_1/exk2zsnf574m2JD4w5d7/sso/saml)

---

<div class="post-metadata">

**Author:** ![warren](https://avatars.discourse-cdn.com/v4/letter/w/97f17d/32.png) [@warren](https://devforum.okta.com/u/warren)\
**Post date:** [February 9, 2022, 11:04pm UTC](https://devforum.okta.com/t/incorrect-redirection-of-okta-url/19253/2 "2022-02-09T23:04:46Z")

</div>

It looks like you are setting up a SAML app.

Do you need to provide a default RelayState?

> **Default RelayState** : The page where users land after a successful sign-in using SAML into the SP.

[https://help.okta.com/en/prod/Content/Topics/Apps/Apps\_App\_Integration\_Wizard\_SAML.htm](https://help.okta.com/en/prod/Content/Topics/Apps/Apps_App_Integration_Wizard_SAML.htm)

---

<div class="post-metadata">

**Author:** ![temp](https://avatars.discourse-cdn.com/v4/letter/t/f04885/32.png) [@temp](https://devforum.okta.com/u/temp)\
**Post date:** [February 13, 2022, 12:15pm UTC](https://devforum.okta.com/t/incorrect-redirection-of-okta-url/19253/4 "2022-02-13T12:15:04Z")

</div>

@warren even adding default RelayState is not working. i am still landing to getting started page. yes I am using saml2.0 for authentication.

I have attached snaps for your reference. please refer serially 1.jpg,2.jpg,3.jpg

 ![1](https://global.discourse-cdn.com/oktadev/original/2X/9/9e10ff5222450c4262b7523889606eeea39a62ab.jpeg)  
 ![2](https://global.discourse-cdn.com/oktadev/original/2X/3/30298793187dd97abb5787f551c933328860d18a.jpeg)  
 ![3](https://global.discourse-cdn.com/oktadev/original/2X/c/cc9646578856e34f06696c7e382d504c039dbcde.jpeg)

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 8, 2024, 9:30pm UTC](https://devforum.okta.com/t/incorrect-redirection-of-okta-url/19253/5 "2024-02-08T21:30:41Z")

</div>


