# Is it safe to have localhost in Sign-out redirect URIs?

**URL:** <https://devforum.okta.com/t/is-it-safe-to-have-localhost-in-sign-out-redirect-uris/14661>\
**Category:** Questions\
**Created:** [June 10, 2021, 1:38pm UTC](https://devforum.okta.com/t/is-it-safe-to-have-localhost-in-sign-out-redirect-uris/14661 "2021-06-10T13:38:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ReturnOfTheMac](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/returnofthemac/32/2934_2.png) [@ReturnOfTheMac](https://devforum.okta.com/u/ReturnOfTheMac)\
**Post date:** [June 10, 2021, 1:38pm UTC](https://devforum.okta.com/t/is-it-safe-to-have-localhost-in-sign-out-redirect-uris/14661/1 "2021-06-10T13:38:22Z")

</div>

I am developing a reactjs app which uses Okta and have just added “sign out” functionality. In order to enable CORS I had to add my `http://localhost:4000` url to the “Sign-out redirect URIs” section in my Okta app → general settings. Just wondering if this it ok from a security point of view?

---

<div class="post-metadata">

**Author:** ![mraible](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/mraible/32/37_2.png) [@mraible](https://devforum.okta.com/u/mraible)\
**Post date:** [June 10, 2021, 1:44pm UTC](https://devforum.okta.com/t/is-it-safe-to-have-localhost-in-sign-out-redirect-uris/14661/2 "2021-06-10T13:44:49Z")

</div>

Yes, it’s OK and encouraged for developing/testing locally.

---

<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:** [June 11, 2021, 1:45pm UTC](https://devforum.okta.com/t/is-it-safe-to-have-localhost-in-sign-out-redirect-uris/14661/3 "2021-06-11T13:45:16Z")

</div>

Closed on June 11, 2021, 1:45pm UTC

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