# Redirect Uri is taking http over https

**URL:** <https://devforum.okta.com/t/redirect-uri-is-taking-http-over-https/25901>\
**Category:** OAuth/OIDC\
**Created:** [November 23, 2023, 9:16am UTC](https://devforum.okta.com/t/redirect-uri-is-taking-http-over-https/25901 "2023-11-23T09:16:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trinath](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@Trinath](https://devforum.okta.com/u/Trinath)\
**Post date:** [November 23, 2023, 9:16am UTC](https://devforum.okta.com/t/redirect-uri-is-taking-http-over-https/25901/1 "2023-11-23T09:16:34Z")

</div>

We are using okta authentication for our application. We have specified the redirect uri in python application and also okta console as https. but when it is appending all the details like client-id, client-secret , redirect uri to domain application it is appending as http and we are getting 400 error saying redirect uri not matc with the okta console

---

<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:** [November 27, 2023, 6:05pm UTC](https://devforum.okta.com/t/redirect-uri-is-taking-http-over-https/25901/2 "2023-11-27T18:05:41Z")

</div>

So the issue is that the redirect\_uri included in the /authorize request _by your application_ uses http instead of https? How are you handling the /authorize redirect and configuration of said redirect\_uri?
