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

Create a rolling API token and auto retry on token rejection. #5

Open
breautek opened this issue Sep 6, 2023 · 0 comments
Open

Create a rolling API token and auto retry on token rejection. #5

breautek opened this issue Sep 6, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@breautek
Copy link
Contributor

breautek commented Sep 6, 2023

Currently a FuseContext API Server generates an API token when the server is created and then remains constant for the lifetime of the API server.

This imposes a security risk should the token be leaked by some other exploit on the application where that token will remain valid for as long as the activity remains active (not destroyed).

We can minimise this risk by making the API token short-lived, (30-60 seconds?).

@breautek breautek added the enhancement New feature or request label Sep 11, 2023
@breautek breautek changed the title Android: Create a rolling API token and auto retry on token rejection. Create a rolling API token and auto retry on token rejection. Oct 5, 2023
@breautek breautek added this to Fuse iOS and Fuse JS Oct 5, 2023
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
Status: No status
Status: No status
Status: No status
Development

No branches or pull requests

1 participant