scragg0x / realms-wiki

Git based wiki inspired by Gollum
http://realms.io
GNU General Public License v2.0
833 stars 91 forks source link

Store next url redirect for in session to work with oauth login callback #157

Closed gazpachoking closed 7 years ago

gazpachoking commented 7 years ago

With oauth login, it was always redirecting back to the home page, no matter where you got redirected to the login page from. This stores the next argument to the login page in the session, so that it can be read even from the callback view for the oauth provider.

gazpachoking commented 7 years ago

I have a confession. I only tested this with oauth login, I assume it should work the same across all of them though.

scragg0x commented 7 years ago

@gazpachoking See if you can resolve the conflicts and we can merge this.