CORS issue on OIDC integrated app if the session expires

HI Team,

We have an spring boot webflux application integrated with Okta OIDC. I am able to login to the application but if the session on the application gets expired it is trying to redirect to /authorize endpoint and receiving CORS issue. I have added applications endpoint as trusted origin in Okta’s Admin console.

Hey @royalanusha! If you test with our java-spring sample, do you get the same error?

Hi @nicole, Yes I have tried with the code available in okta-hosted-login. still issue is seen. And I have tried adding below line of code but this is completely throwing 401 unathorized.
Okta.configureResourceServer401ResponseBody(http);

Hi Team, can you please help here

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