User canceled the social login request - 400

I am using a custom subdomain with the okta hosted login widget.

I have successfully integrated linkedin as an Identity Provider and I can sign up with linkedin without any problems.

But when I click the cancel button on the linkedin sign in page, I get an 400 Bad request screen, saying this:

400 - Bad request
Your request resulted in an error. User canceled the social login request.  

The URL is:


I donĀ“t know what is missing. Can someone help?