I created sample app for Okta authentication using React okta widget. The login works well on localhost server however it does not work on web server or azure server and show ‘There was an unexpected internal error. Please try again.’ on sign in screen.
Make sure you add the web server or azure server URI to the redirect URIs on the application configuration, and add the URIs as a trusted origin under Security > API > Trusted Origin.
Thanks… it worked after adding URIs to Trusted Origin