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

invalidate existing API sessions when identity is disabled #1355

Open
qrkourier opened this issue Dec 6, 2022 · 1 comment
Open

invalidate existing API sessions when identity is disabled #1355

qrkourier opened this issue Dec 6, 2022 · 1 comment
Assignees

Comments

@qrkourier
Copy link
Member

The identity property disabled prevents authentication, but existing sessions can still be renewed indefinitely. Change the edge controller to invalidate existing API sessions for the newly-disabled identity.

@qrkourier
Copy link
Member Author

qrkourier commented Mar 5, 2023

This seems to have changed because calling POST /edge/management/v1/identities/{id}/disabled with {"durationMinutes": 1} does cause the affected identity to lose access to services immediately. I tested with ziti-edge-tunnel authorized with a Dial SP. However, after durationMinutes has transpired and the identity again has disabled: false, the client does not continue polling for services unless the identity is toggled off and on again or the client tunneler restarted.

@qrkourier qrkourier transferred this issue from openziti/edge Sep 28, 2023
plorenz added a commit that referenced this issue Sep 30, 2023
Handle duplicate tunnel terminator creation gracefully. Fixes #1355
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

No branches or pull requests

2 participants