Open sethvincent opened 5 years ago
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 you would need to implement it using the session cookie. I've done something similar in the osm-teams authentication implementation here
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?