claudioc / jingo

Node.js based Wiki
MIT License
1.02k stars 184 forks source link

Documentation says server.baseUrl is not used anymore but it is! #104

Closed aruizca closed 8 years ago

aruizca commented 8 years ago

It is used in auth.js line #54 for GitHub authentication.

Otherwise you get this error:

http://your-application.com/callback?error=redirect_uri_mismatch&error_description=The+redirect_uri+MUST+match+the+registered+callback+URL+for+this+application.&error_uri=https://developer.github.com/v3/oauth/%23redirect-uri-mismatch&state=xyz

https://developer.github.com/v3/oauth/#redirect-uri-mismatch