Skip to content
Snippets Groups Projects

Fix documentation for Github integration authorization callback url.

There are two callbacks that could be used with Github integration:

  • /import/github/callback (used by project import)
  • /users/auth/github/callback (used by OmniAuth)

Github's documentation suggests that authorization callback url should be set to the longest common path.

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

Configuring according to the previous documentation resulted in a redirect_uri_mismatch error from Github when logging in via OmniAuth.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading