Setting up node-red-auth-github

#1

I am trying to follow the instructions at https://www.npmjs.com/package/node-red-auth-github, but I am unclear on one thing - when I register the new application with github I am not sure what to put in the "Authorization callback URL". I have set things up so that my node red instance is available at my-sitedotcom/admin, and the dashboard is at my-sitedotcom/ui

I think I understand the rest of it, just that one thing is unclear.

0 Likes

#2

The callback URL in any modern authentication scheme generally refers to where you want to end up after authentication is completed.

Quite often it doesn't matter what you put in since your app is taking care of it anyway. You could try putting in https://localhost to see what happens and whether you actually need it.

If you are relying on the authentication, especially over the Internet, don't forget to verify that it is actually working and don't forget to test websockets as well as the web interfaces.

0 Likes