scoreboard icon indicating copy to clipboard operation
scoreboard copied to clipboard

redirect to page from which the user logged in

Open sethvincent opened this issue 6 years ago • 1 comments

Right now when we log in we're always redirected to '/'

But if I log in from, say, '/admin/badges' I would rather be redirected back to that page that I was on.

I'm not sure how this might work with osm oauth. There might be a way to pass query params?

sethvincent avatar Dec 18 '18 18:12 sethvincent

@sethvincent you would need to implement it using the session cookie. I've done something similar in the osm-teams authentication implementation here

kamicut avatar Dec 18 '18 18:12 kamicut