omniauth-linkedin-oauth2
omniauth-linkedin-oauth2 copied to clipboard
Get the original referer
I can't find a way to get the page URL from which the user clicked the linkedin button, is there an easy way to do it ?
Thanks !
Did you end up figuring this out?
I was looking at this and it seems like the only information you could return is the state parameter. https://developer.linkedin.com/docs/oauth2 (section2). I'm thinking it could be possible to encode a user's ID, or the url of the page you wish to redirect them to and include that as the state. Would likely have to add that to both the sending and returned parameters.