Docs

Callback handling

Finish the sign-in transaction on the exact callback route registered in Console.

Create the route

Create the same path you registered in Console, for example /auth/callback. Do not register one URL and implement another.

Finish the transaction

Use the installed SDK callback method for your package version to validate state and finish the authorization transaction. After success, remove temporary authorization parameters from the visible URL and continue to the intended application page.

Common failure

If Identity reports an invalid redirect, compare the full callback URL in your browser with the Console value, including http/https, port, path and trailing slash.