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

Add API endpoints to help manage API tokens #6266

Closed
scolapasta opened this issue Oct 9, 2019 · 3 comments · Fixed by #6292
Closed

Add API endpoints to help manage API tokens #6266

scolapasta opened this issue Oct 9, 2019 · 3 comments · Fixed by #6292
Assignees

Comments

@scolapasta
Copy link
Contributor

We want to add 3 new endpoints for API token management:

  • one that returns the expiration date of a token
  • one that allows you to regenerate a new token
  • one that allows you to remove the existing token
@scolapasta
Copy link
Contributor Author

Note: this will involve moving some code from backing bean to business layer.

@poikilotherm
Copy link
Contributor

I just stumbled over this issue and PR and thought about a possible connection to #6286.

Do you think it would be feasible to add an admin API endpoint to generate a new token for a given user which expires in short time and is returned after creation? It would allow to easily grab a temporary API token for loading data...

@djbrooke
Copy link
Contributor

Hi @poikilotherm, we'll move this through as is since there's an external project relying on us adding this and I don't want to increase scope. This is not a comment on the merit of your proposal, I just want to keep this moving. :)

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 a pull request may close this issue.

4 participants