React Okta Authentication - Works on localhost server but does not work on web server or azure server

Hi,
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.
Thanks,

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