mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 09:13:19 +03:00
🚀 Feat: UX improvements for client options #12
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @James18232 on GitHub.
Feature description
Adding as a feature as this is not exactly a bug.
The client options page should be updated to change the functionality to:
Pitch
The current options are potentially confusing, given these options actually relate to two different authentication flows which can be adopted (public client flow vs standard authorisation flow with optional PKCE extension).
If the public toggle is used, PKCE is used by default for the public client flow. Users may get confused and think both the public and PKCE toggles are required to be checked to use a public flow for that client.
This may need a migration to handle existing clients that have both the client and pkce toggled on (the pkce can be turned off), not that i believe this has any impact on current functionality.
This will result in either the user checking pkce to use the optional extension, with the public toggle automatically turned off (or greyed out?), or the user checks public and the PKCE toggle is automatically turned off and hidden from view (or alternatively greyed out)..