Open
Description
I am very well aware of the efforts taken in #12, however, I do not agree with the implementation.
PKCEs are a way for SPAs to authenticate securely. They are protected by redirect_uri
s and use SHA-256 checksum to prevent XSS attacks.
They are pretty well adopted and almost all decent auth providers allow PKCE
for authentication.
Therefore, implementing PKCE for server side code doesn't make sense. Also, PR is not being actively worked on.
Implementation Proposal:
A Nuxt plugin for providers which runs client side and performs PKCE logic.
Ref: https://github.com/bitinflow/nuxt-oauth/blob/main/src/runtime/plugin.ts
I am open to PR if we are going to merge it.