Auth0 Home Blog Docs




Hello, I use FacebookAuthProvider for login in facebook. But I have some troubles with login.

    mProvider.setPermissions(Arrays.asList("public_profile", "user_photos"));
            .setScope("openid email profile offline_access")

inside FacebookAuthProvider I see success callback response, the above

new FacebookApi.Callback() {
public void onSuccess(LoginResult loginResult) {

Then call auth0.loginWithOAuthAccessToken(token, CONNECTION) for get credantials, But I have 403 error.
I think I get the error because loginWithOAuthAccessToken does’t work.

Can anybody clarify me please how to get user credentials by using this acсess token ? (loginResult.getAccessToken().getToken())