Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: OIDC Client Details wrong value for PKCE #101

Closed
simon-eller opened this issue Jan 9, 2025 · 7 comments
Closed

🐛 Bug Report: OIDC Client Details wrong value for PKCE #101

simon-eller opened this issue Jan 9, 2025 · 7 comments
Labels
bug Something isn't working

Comments

@simon-eller
Copy link

Reproduction steps

  1. Navigate to "OIDC Clients" and "Add OIDC Client"
  2. Enter credentials and uncheck "PKCE" and click on "Save"
  3. In the details click on "Show more details"
  4. Option PKCE is Disabled
  5. Now check "PKCE" save it again and the value of PKCE is still displayed as Disabled

Expected behavior

The value of PKCE should be displayed as Enabled if it is enabled.

Actual Behavior

No matter if PKCE is checked or unchecked it is always displayed as Disabled

pocket-id-screenshot

@simon-eller simon-eller added the bug Something isn't working label Jan 9, 2025
@simon-eller
Copy link
Author

I think i found the issue in frontend/src/routes/settings/admin/oidc-clients/[id]/+page.svelte at line 30:

PKCE: client.isPublic ? 'Enabled' : 'Disabled'

should be

PKCE: client.pkceEnabled ? 'Enabled' : 'Disabled'

@parhammhd
Copy link

I have the same issue as well, not sure if that is the case but I am getting errors trying to use Pocket ID for Pingvin Share possibly because of not being able to enable PKCE.

@stonith404
Copy link
Owner

think i found the issue in frontend/src/routes/settings/admin/oidc-clients/[id]/+page.svelte at line 30:

Yes thanks, that's the issue.

@stonith404
Copy link
Owner

@parhammhd It's just a display bug. Everything should still work as expected.

Pingvin Share doesn't support PKCE so you have to disable it. Which error do you get?

@parhammhd
Copy link

@parhammhd It's just a display bug. Everything should still work as expected.

Pingvin Share doesn't support PKCE so you have to disable it. Which error do you get?

Thanks, it fixed my issue, just had to disable it 😁🙏🏻

@stonith404
Copy link
Owner

This should be fixed in v0.24.0

@simon-eller
Copy link
Author

simon-eller commented Jan 11, 2025

Thanks a lot! Btw very cool project. 👍🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants