I received no errors and the React app loads with the Home page Custom Login Page with Sign in Widget. However, when I try logging in with my Okta developer username and password I get a spinning circle that eventually displays the following message, “Unable to connect to the server, please check your network connection.” I also tried creating another user account for testing but still get the same error message.
I wasn’t able to login successfully so I didn’t integrate the resource server.
Does anyone have an idea why I’m receiving the “Unable to connect to the server, please check your network connection” error? Any advice is greatly appreciated.
Hi Mark, I’ve been doing UAT of the samples since we have launched them. I started over from scratch with my org, and I’m not seeing the issue. Custom Login with the widget works correctly. If CORS isn’t set up correctly in your org, then you will get a CORS error and the widget will spin, but I don’t think it is that. It should be clear from the console that you are hitting a CORS issue.
Do you mind sharing your samples config? Just want to check a few things.