flask-dance icon indicating copy to clipboard operation
flask-dance copied to clipboard

Linkedin r_fullprofile scope login failed

Open chatzich opened this issue 4 years ago • 4 comments
trafficstars

Hello, I try to create a login process with Linkedin OAuth service. I have followed the instructions and retrieve the proper data of r_liteprofile linkedin_bp = make_linkedin_blueprint(scope=["r_liteprofile"]) the user data provided by r_liteprofile is not enough for my purpose and I need the r_fullprofile scope data but unfortunately when I changed the scope to linkedin_bp = make_linkedin_blueprint(scope=["r_fullprofile"])

Screenshot at 2020-03-12 00-13-02

chatzich avatar Dec 14 '20 20:12 chatzich

That looks expected to me. You can't just suddenly change your scope and expect everything to work without asking users to re-authorize. They need to grant permissions for the updated scopes.

singingwolfboy avatar Dec 14 '20 21:12 singingwolfboy

That looks expected to me. You can't just suddenly change your scope and expect everything to work without asking users to re-authorize. They need to grant permissions for the updated scopes.

But how? I thought that there was an app permissions problem

chatzich avatar Dec 14 '20 21:12 chatzich

@chatzich I think maybe we're misunderstanding each other. What are the exact steps to reproduce this problem?

singingwolfboy avatar Dec 14 '20 21:12 singingwolfboy

@chatzich I think maybe we're misunderstanding each other. What are the exact steps to reproduce this problem?

Yes I think that my application does not have the r_fullprofile scope permission that's why I am getting the error if the app had the permission the linked api service should ask the user if he agrees to provide the new permissions Permissions: r_emailaddress r_liteprofile w_member_social

chatzich avatar Dec 14 '20 21:12 chatzich