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

[feature] Audit and management of oauth tokens #1573

Open
Tracked by #2232
trysdyn opened this issue Feb 27, 2023 · 2 comments · May be fixed by #3845
Open
Tracked by #2232

[feature] Audit and management of oauth tokens #1573

trysdyn opened this issue Feb 27, 2023 · 2 comments · May be fixed by #3845
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@trysdyn
Copy link

trysdyn commented Feb 27, 2023

Is your feature request related to a problem ?

Because I am paranoid™️ I sometimes check that nothing has managed to pop my account by checking the tokens table in the DB for anything unexpected. This isn't ideal since it relies on being a self-hosting admin with DB access, and probably is far less workable on sqlite than postgres.

I also have quite a bit of clutter in my token list from testing awful mad science c2s stuff.

Describe the solution you'd like.

A web interface in /settings for inspecting and expiring tokens. Pleroma's was just a list of tokens, grant date, scope, expire date, and a button to expire each token immediately.

Describe alternatives you've considered.

Direct DB access (checking the DB for tokens, deleting rows, etc) but that requires DB access and the know-how and is kind of inconvenient.

2FA will increase my comfort level here immensely but is not an entire substitute, it's more a sibling feature.

I've also considered the scorched earth approach of getting tokens I like set up, then setting Caddy to 403 /oauth/authorize, and then not worrying about token management because no one can get a token any more unless I remove the configuration 🙃 But again that's a self-hoster privilege.

Additional context.

No response

@trysdyn trysdyn added the enhancement New feature or request label Feb 27, 2023
@tsmethurst
Copy link
Contributor

Yep yep yep, agreed. Related: #1355

@tsmethurst
Copy link
Contributor

related: #1081

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants