italia / spid-cie-oidc-django

The SPID/CIE OIDC Federation SDK, written in Python
Apache License 2.0
27 stars 28 forks source link

403 from introspection endpoint #199

Closed damikael closed 2 years ago

damikael commented 2 years ago

The response to a well formed introspection request returns with 403 error https status code and reason "CSRF cookie not set."

peppelinux commented 2 years ago

that's something patched in the dev branch, here https://github.com/italia/spid-cie-oidc-django/blob/dev/spid_cie_oidc/provider/views/introspection_endpoint.py#L41

we have the except of csrf token as we can see. May you're using the main branch?

Hopefully tomorrow we'll have a new release

peppelinux commented 2 years ago

Done in v0.6.0