/login/callback returning a 400 error for okta enterprise login


I followed along with this guide for connecting Auth0 with Okta: Connect Your Auth0 Application with Okta Enterprise Connection

I created an Okta workforce connection, clicked on “try”, logged into okta and saw the “It works!” screen.

But when running my app locally in the network tab this URL is returning a 400 error: https://dev-4isur.us.auth0.com/login/callback?code=KUdd-lv7Q&state=pYve****Z6w And the error message is " Oops!, something went wrong You may have pressed the back button…"

I also added the callback URL above to the “Allowed Callback URLs” section of Auth0 app I enabled enterprise okta workforce for.

Any ideas where I’m going wrong?