Error during social login

Hello,

I am trying to do social login with authorization code flow, I get sent to Okta OK and to google as well, but when I come back to my site and try to exchange the code I get this error, and I don’t know what it means:

http://localhost:3000/callbacks/google?state=dcc47cbc-7d84-44ce-95ed-a2cf5adcd84e&error=access_denied&error_description=Policy+evaluation+failed+for+this+request%2C+please+check+the+policy+configurations.

Hi there! Are you using a custom authorization server with this flow? I would take a look at the default policy that you have for it, you may need to enable the authorization code flow. Here is what that screen looks like: