nuxt-openid-connect icon indicating copy to clipboard operation
nuxt-openid-connect copied to clipboard

PKCE support (code_challenge)

Open diegosasw opened this issue 2 years ago • 7 comments

This library looks great, thanks. I am following the playground example.

I am using a Duende Identity Server OIDC provider and I have adapted the sample to make it work.

However I had to disable PKCE in the OIDC provider not to get an error code_challenge is missing

I am wondering whether the library supports PKCE. I know oidc-client-ts does.

diegosasw avatar Jun 16 '23 14:06 diegosasw

Currently, the package doesn't support PKCE.

aborn avatar Jun 19 '23 06:06 aborn

@aborn What would need to be changed in order to support pkce?

karatekaneen avatar Jan 24 '24 15:01 karatekaneen

As pkce, you needs pass Code Verifier and Code Challenge params for Authorization Code Flow . You can have try, and give PR.

aborn avatar Jan 30 '24 10:01 aborn

Hello guys,

Any news about this issue?

Thanks a lot! Diogo

DiogoCunhaMoreira avatar Sep 26 '24 13:09 DiogoCunhaMoreira

No news from me. We chose another project for our authentication unfortunately so didn't ever get to build the PKCE part for this one.

karatekaneen avatar Sep 26 '24 18:09 karatekaneen

PKCE is the standard now. Need support!

VictorioBerra avatar Oct 03 '24 16:10 VictorioBerra