juanifioren / django-oidc-provider

OpenID Connect and OAuth2 provider implementation for Djangonauts.
http://django-oidc-provider.readthedocs.org
MIT License
416 stars 239 forks source link

parallel requests may reuse same authorization code #410

Closed jpaniagualaconich closed 11 months ago

jpaniagualaconich commented 12 months ago

During the token exchange where an authorization code is exchanged for an access token and a refresh token, the same code can be used more than once. This happens if several requests are issued in parallel.

Authorization codes MUST be short lived and single-use, as described in RFC6749, Section 10.5.