Invalid Token with facebook login

we have a spring boot app that use the jwt token, returned after login process, to authorize our api call; we use the token in header [Header(Authorization: Bearer <id_token>] and all works great with normal okta user password flow.
But if in the api call we use a token returned after a social login (ex. facebook) we get the following error from our spring boot api:
UserInfoTokenServices : Could not fetch user details: class, A redirect is required to get the users approval
What’s the problem?