Auth0 Home Blog Docs

Auth_token when login in with facebook does not allow access to api/v2/user

social-connections
facebook
facebook-login

#1

When a user logs in by using facebook an auth token is sent back trough the callback url hash. ex:
“#access_token=****************&expires_in=86400&token_type=Bearer”
This auth token allows to connect to /userinfo but when accessing to api/v2/user the API responds with:
{“statusCode”:400,“error”:“Bad Request”,“message”:“Bad HTTP authentication header format”,“errorCode”:“Bearer”}.

What am i doing wrong?