Auth0 Home Blog Docs

checkSession() + electron + auth0js

auth0
refresh-tokens
refresh_token

#1

Hi,

I’ve got an Electron app with AngularJs that logs in with a custom login page, this all works well no problems. But I run into a problem when I call checkSession() i get a response with the following error description. “The specified redirect_uri ‘undefined’ does not have a registered origin.”

I followed the code here “https://github.com/auth0-samples/auth0-angularjs-samples/tree/embedded-login/02-Custom-Login-Form” with some minor changes.

I don’t set “redirect_uri” anywhere, as I dont require any redirect.

How can I get this to work?