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

Implement developer mode for custom ticket fields to reveal choices #2

Merged
merged 2 commits into from
Nov 8, 2023

Conversation

0xjei
Copy link
Collaborator

@0xjei 0xjei commented Nov 8, 2023

This PR adds all the necessary functionality to allow the user to (optionally) enable developer mode. Once enabled, the user can arbitrarily select any subset (from none to all) of ticket fields to be revealed during the authentication process. All exposed fields will be displayed at the end of the process. If developer mode is not enabled, the process will be the same as in the current implementation.

Simple and specific components (e.g. Toggle) have been created to keep the main component customizable and functional. The use of local storage allows consistency to be maintained after a subsequent update.

Screencast.from.08-11-2023.13.02.34.webm

@0xjei 0xjei requested a review from cedoor November 8, 2023 12:06
@0xjei 0xjei self-assigned this Nov 8, 2023
Copy link

vercel bot commented Nov 8, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
zuauth ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2023 0:07am

@cedoor cedoor merged commit c7c052a into cedoor:main Nov 8, 2023
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