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

generate and expose forwarding tokens and usernames #344

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

timcowlishaw
Copy link
Contributor

Forwarding tokens are now available to logged in users for their own account, and to admins for everyone, on the /users endpoint.

Tokens are generated automatically for researchers and admins on creation or privilege escalation

A new rake task users:generate_forwarding_tokens in order to backfill tokens for existing users without them

@timcowlishaw timcowlishaw linked an issue Jul 20, 2024 that may be closed by this pull request
3 tasks
@timcowlishaw timcowlishaw force-pushed the forwarding-token-access branch from f0c0581 to 1b3a90f Compare July 30, 2024 10:34
@oscgonfer oscgonfer merged commit eb4f3c4 into master Jul 30, 2024
2 checks passed
@oscgonfer oscgonfer deleted the forwarding-token-access branch July 30, 2024 10:53
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

Successfully merging this pull request may close these issues.

Add endpoints for getting forwarding tokens
2 participants