redirectUrl mismatch using WebAuth

Update:

I found out that the redirectUrl from github was auth.domainName.io/callback instead of localhost:3000/callback. I changed the domain parameter to localhost:3000 but now it says the connection is not secure (SSL).