Blank Screen after Google Social Login with Non-Organization User

Overview

When a user who is not included in the organization tries to log in via Google, the callback redirect happens with error details, but the screen is blank even when production keys are set up for Google social login. 

Cause

This is the default error handler of the nextjs SDK, all it does is return the status code and log the error to the console.

Solution

  • This behavior can be overridden by specifying an onError handler - more info here.
  • Also, please check this Github issue that helped with the implementation for a different user.

Recommended content

No recommended content found...