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

Surface invalid browser key pattern errors #273

Open
stdavis opened this issue May 9, 2024 · 3 comments
Open

Surface invalid browser key pattern errors #273

stdavis opened this issue May 9, 2024 · 3 comments
Labels
enhancement service - developer console the self service api key service

Comments

@stdavis
Copy link
Member

stdavis commented May 9, 2024

The app shows a generic error message when a user attempts to create a new browser key with an invalid pattern.

Image

The error message from the server (invalid key pattern) should be surfaced to the user or the pattern should be validated client-side.

@stdavis stdavis added enhancement service - developer console the self service api key service labels May 9, 2024
@steveoh
Copy link
Member

steveoh commented May 9, 2024

what did you do to create this error? I'm curious what server side checks we do that may not be possible on the client.

@stdavis
Copy link
Member Author

stdavis commented May 9, 2024

I attempted to add a browser key with a pattern of *.

@steveoh
Copy link
Member

steveoh commented May 9, 2024

I think the problem is mainly that there isn't any validation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement service - developer console the self service api key service
Projects
None yet
Development

No branches or pull requests

2 participants