Keycloak error - unable to login via SSO

Issue

Error:

Unable to login via SSO (SAML 2.0 + Azure AD): 
`500 Server Error for HTTP GET “/login/oauth2/code/keycloak?state=mws9XBIVU__mStCzO`

Resolution

The primary reason for this error is the blocked ports. Allow access to public IP via ports 443 & 80 in your security group used by your server.