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

increase mobile app verification token TTL from 1 minute to 5 minutes #2859

Merged
merged 2 commits into from
Aug 22, 2023

Conversation

joeyorlando
Copy link
Contributor

@joeyorlando joeyorlando commented Aug 22, 2023

What this PR does

Trying to connect a mobile app emulator, following the instructions here, to a cloud stack is incredibly difficult given the 1 minute token TTL. You need to retrieve the token from the HTTP response in your browser's inspect panel, plug that token into the make run command and cross your fingers that the emulator starts up in < 45 seconds before the token expires.

This PR increases the verification token TTL from 1 minute to 5 minutes.

Checklist

  • Unit, integration, and e2e (if applicable) tests updated
  • Documentation added (or pr:no public docs PR label added if not required)
  • CHANGELOG.md updated (or pr:no changelog PR label added if not required)

@joeyorlando joeyorlando added pr:no changelog pr:no public docs Added to a PR that does not require public documentation updates labels Aug 22, 2023
@joeyorlando joeyorlando requested review from a team August 22, 2023 14:35
@joeyorlando joeyorlando merged commit dd33837 into dev Aug 22, 2023
23 of 24 checks passed
@joeyorlando joeyorlando deleted the jorlando/increase-mobile-app-auth-token-ttl branch August 22, 2023 15:10
brojd pushed a commit that referenced this pull request Sep 18, 2024
…#2859)

# What this PR does

Trying to connect a mobile app emulator, following the instructions
[here](https://github.com/grafana/oncall-mobile-app#getting-started), to
a cloud stack is incredibly difficult given the 1 minute token TTL. You
need to retrieve the token from the HTTP response in your browser's
inspect panel, plug that token into the `make run` command and cross
your fingers that the emulator starts up in < 45 seconds before the
token expires.

This PR increases the verification token TTL from 1 minute to 5 minutes.

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:no public docs Added to a PR that does not require public documentation updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants