Custom Protocols / Registered Origin Issues with SPA SDK

Please include the following information in your post:

  • Which SDK this is regarding:
    Auth0 Single Page App SDK JS

  • SDK Version:
    1.21.0

  • Platform Version:

  • Code Snippets/Error Messages/Supporting Details/Screenshots:

Hello,

I am trying to use a custom protocol for our redirect. We are using Electron for our app and basically the custom protocol (ours is lando://) sits on top of the file:// protocol.

When I try to run any auth0 commands after we are authorized we get the 400 status code with the description of The specified redirect_uri ‘lando:///callback’ does not have a registered origin.

In the Allowed Web Origins I have tried adding lando://, lando://* to the Allowed Web Origins. However, this doesn’t alleviate the silent fail.

Any suggestions are appreciated.

Just wanted to bump this to see if anyone had any experience with this.

Did this work for you? How did you fix it