truqu / elm-oauth2

OAuth 2.0 client-side utils in Elm
MIT License
81 stars 29 forks source link

Recommend PKCE for all clients #25

Closed tekul closed 3 years ago

tekul commented 3 years ago

The README (and hence doc on elm-packages) is a bit confusing since it says "FOR CONFIDENTIAL CLIENTS" for the code/PKCE grant whereas it is recommended for use by all clients, especially public ones (non-public clients are protected to some extent since they must authenticate to the token endpoint).

It's intended that in future versions, PKCE will be required for the authorization code grant and the implicit and resource owner grants will be dropped from the spec.