In linkedin developers page under settings of application I added http://example.org/login
as "Authorized Redirect URL".
In application I am using HWIOauthBundle and in security.yml
I added following:
firewalls:
secured_area:
oauth:
resource_owners:
linkedin: "/login/check-linkedin"
login_path: /login
use_forward: false
failure_path: /login
oauth_user_provider:
service: hwi_oauth.user.provider
Once I enter http://example.org/login
and press linkedin
button. I am getting an error:
invalid redirect_uri. This value must match a URL registered with the API Key.
I see multiple topics on this problem, but no solving.
P.S. I tried adding http://example.org/login/check-linkedin
as "Authorized Redirect URL" in developers page, but I still get same error.
Aucun commentaire:
Enregistrer un commentaire