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 middleware for checking if Identity has been created #193

Open
zupzup opened this issue Oct 29, 2024 · 0 comments
Open

Implement middleware for checking if Identity has been created #193

zupzup opened this issue Oct 29, 2024 · 0 comments
Labels
help wanted Extra attention is needed new feature New feature or request

Comments

@zupzup
Copy link
Collaborator

zupzup commented Oct 29, 2024

If no identity has been created yet, all endpoints except the identity-related ones should return Not acceptable.

Currently this is implemented by checking for the identity file to exist and is implemented in all handlers manually.

Create an is_identity_initialized middleware, or something, which does a proper check and include it everywhere necessary.

@zupzup zupzup converted this from a draft issue Oct 29, 2024
@mtbitcr mtbitcr added enhancement Enhancement of existing code new feature New feature or request labels Nov 7, 2024
@mtbitcr mtbitcr added help wanted Extra attention is needed and removed enhancement Enhancement of existing code labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed new feature New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants