jrd / django-oauth2-authcodeflow

Authenticate with any OpenId Connect/Oauth2 provider through authorization code flow. PKCE is also supported
https://pypi.org/project/django-oauth2-authcodeflow/
MIT License
14 stars 8 forks source link

Token authentication not working. Invalid audience #20

Open Thierrynjike opened 5 months ago

Thierrynjike commented 5 months ago

I am using the package for openidconnect on my API an it works well. When I am trying to consume the API from the frontend, I always get login form instead of the requested resource. I tried to test with postman to read log and i see that the problem is with the audience retrieved from the token.

Screenshot 2024-02-06 at 21 30 30