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 endpoint to refresh the ODK appuser token for a project #1461

Open
spwoodcock opened this issue Apr 18, 2024 · 0 comments
Open

Add endpoint to refresh the ODK appuser token for a project #1461

spwoodcock opened this issue Apr 18, 2024 · 0 comments
Labels
backend enhancement New feature or request

Comments

@spwoodcock
Copy link
Member

Is your feature request related to a problem? Please describe.

  • Currently the appuser token is generated once during project creation.
  • This is what is embedded in the QRCode and links to a project from ODK Collect.
  • There is no way to refresh this token - for example if it is suspected the token is compromised.

Describe the solution you'd like

  • Add an endpoint that 'refreshes' the appuser token.
  • One way to achieve this would be:
    • Delete the appuser (which will delete the permissions to project forms too).
    • Create a new appuser.
    • Link the appuser to the project forms.
@spwoodcock spwoodcock added enhancement New feature or request backend labels Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant