# Ids4 + Okta Integration

**URL:** <https://devforum.okta.com/t/ids4-okta-integration/20007>\
**Category:** Questions\
**Created:** [March 29, 2022, 9:07am UTC](https://devforum.okta.com/t/ids4-okta-integration/20007 "2022-03-29T09:07:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanielC](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@DanielC](https://devforum.okta.com/u/DanielC)\
**Post date:** [March 29, 2022, 9:07am UTC](https://devforum.okta.com/t/ids4-okta-integration/20007/1 "2022-03-29T09:07:23Z")

</div>

Hello, I´m currently trying to integrate Okta and Ids4 and after reading the documentation at [Add an external Identity Provider | Okta Developer](https://developer.okta.com/docs/guides/add-an-external-idp/openidconnect/main/#test-the-integration) I´m still having some problems.

Firstly I´m not sure about how can someone login in Okta without using Okta credentials.  
Secondly if I have correctly understood the doc up there in this message, the flow is as follows:

- Login in Ids4
- With the info the response returns, build a URL with this structure:

https://{myOktaRoute}/oauth2/v1/authorize  
?idp={myIdp}  
&client\_id={myIds4ClientId}  
&response\_type=id\_token  
&response\_mode=fragment  
&scope={myScopeVars}  
&redirect\_uri={myUri}/authorize/callback  
&state={state (recovered from Ids4 login response)}  
&nonce={nonce(recovered from Ids4 login response and decoded)}

- Get redirected to my app.

Currently this last step is not working, and all I get, no matter what I change in that URL, is a 400 Bad Request Error page.

Is there something I am missing or that I could,ve misunderstood?

Thank you for your time.

---

<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 12, 2024, 6:20pm UTC](https://devforum.okta.com/t/ids4-okta-integration/20007/2 "2024-02-12T18:20:42Z")

</div>

Closed on February 12, 2024, 6:20pm UTC


