Skip to content

return_scopes #23

@biskit

Description

@biskit

the code does not handle a case where the user has not given all the asked permissions. the only way to find that out is to read the scopes and look for denied and relogin.

either the app can find out, or the react component can. today one cannot do either. the easiest would be to call FB.login with return_scopes=true. the grantedscopes will be returned with the authResponse.

relevant line of code:

  clickHandler () {
    FB.login(this.checkLoginState, { scope: this.props.scope });
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions