Parameters in redirect url
-
Hello!
Thanks for you nice code ??
Just a question : I am trying to add a parameter to the redirect url but it seems to be refused by the plugin.
While my site’s main url is authorized in my LinkedIn Application, it should be possible to add some params, as this example : https://mysiteurl/?p=12 or https://mysiteurl/?redirect_after=other_url…
If there’s no parameters in the url, the authentication is OK, but with params it seems to genereate an error :
Notice: Undefined property: stdClass::$access_token in […]/plugins/linkedin-oauth/lib/functions.php on line 113
Error: No access token from Linkedin
And the URL seems unredirected also :
https://mysiteurl/?redirect_f4h=mysiteurl/my_original_page&code=%5BCODE%5D4&state=%5BSTATE%5DI’m asking this to you because I need a way to redirect to another page than the home after the authentication (redirect to the page where the user tried to login originally).
Thanks in advance for your advice!
- The topic ‘Parameters in redirect url’ is closed to new replies.