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

Validate identity names #534

Open
IronCore864 opened this issue Dec 10, 2024 · 0 comments
Open

Validate identity names #534

IronCore864 opened this issue Dec 10, 2024 · 0 comments
Assignees
Labels
25.04 Planned for the 25.04 cycle

Comments

@IronCore864
Copy link
Contributor

Currently, the identity name is a string, and when validating an identity, we don't set any limit on what can be used as the name. When adding identities, they are directly read from the YAML without validation either. So, technically, users can now use anything as part of their identity name.

We want to add some validation on the name, for example, ^a-zA-Z0-9_\-, so that it doesn't contain weird characters.

@IronCore864 IronCore864 added the 25.04 Planned for the 25.04 cycle label Dec 10, 2024
@IronCore864 IronCore864 self-assigned this Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
25.04 Planned for the 25.04 cycle
Projects
None yet
Development

No branches or pull requests

1 participant