Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirecting back to github #38

Open
Naatan opened this issue Aug 11, 2015 · 1 comment
Open

Redirecting back to github #38

Naatan opened this issue Aug 11, 2015 · 1 comment

Comments

@Naatan
Copy link

Naatan commented Aug 11, 2015

Omnigollum redirects back to github after authentication. I've traced the issue down to this line:

https://github.com/arr2036/omnigollum/blob/master/lib/omnigollum.rb#L52

If I simply change it to '/' the problem goes away, but ideally redirects should go back to the page the user started the authentication process from.

@ghost
Copy link

ghost commented Sep 2, 2016

The documentation should be updated, I had this issue too.
Set your callback path registered with github to /__omnigollum__/auth/github/callback. So, your callback uri should look like (changing for your own hostname):
http://wiki.lan/__omnigollum__/auth/github/callback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant