Skip to content

feat(zitadel) use more secure PKCE flow#438

Merged
atinux merged 1 commit into
atinux:mainfrom
julien1619:patch-1
Jul 31, 2025
Merged

feat(zitadel) use more secure PKCE flow#438
atinux merged 1 commit into
atinux:mainfrom
julien1619:patch-1

Conversation

@julien1619

Copy link
Copy Markdown
Contributor

This PR adds the PKCE flow to the Zitadel provider as it's recommended by the provider, inspired by what was done in azureb2c provider.

@pkg-pr-new

pkg-pr-new Bot commented Jul 30, 2025

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/atinux/nuxt-auth-utils@438

commit: 00b80ac

@atinux

atinux commented Jul 30, 2025

Copy link
Copy Markdown
Owner

By looking at https://oauth.net/2/pkce/ it seems that client secret is still recommend and PKCE is not replacing client secret, could you please add it back or justify why we can remove it @julien1619 ?

@julien1619

julien1619 commented Jul 30, 2025

Copy link
Copy Markdown
Contributor Author

Ok I will add it back but as an optionnal value because in Zitadel if you choose PKCE you won't have any secret generated.

Here is the related issue in Zitadel: zitadel/zitadel#7110

@atinux

atinux commented Jul 31, 2025

Copy link
Copy Markdown
Owner

Please mention me when ready @julien1619

remove clientSecret, useless with PKCE
add clientSecret as an optional

fix
@julien1619

Copy link
Copy Markdown
Contributor Author

@atinux It seems Ok for me now.

@atinux atinux left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@atinux atinux merged commit 615fcf9 into atinux:main Jul 31, 2025
4 checks passed
@julien1619 julien1619 deleted the patch-1 branch July 31, 2025 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants