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

Authentik remove Admins #282

Open
kilimnik opened this issue Feb 20, 2025 · 0 comments
Open

Authentik remove Admins #282

kilimnik opened this issue Feb 20, 2025 · 0 comments

Comments

@kilimnik
Copy link

The Authentik docs state that one should add the Service Account as an Admin. I didn't want to do that as this introduces a big security risk to authentik, becuase an admin can change any setting and impersonate users and so on.
I looked into what you were actually doing with that user, as far as I can tell you are using it to list and read user accounts as well as to remove them.

I added the Api Access scope to the provider and gave the service account the specific permissions to read and delete users, and it's working great without the big step of giving admin access to a process which does not need it.

I would also argue that netbird should not be able to delete users from authentik, though that's a different discussion and can be done by just not assigning the delete user permission to the service account.

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

1 participant