Skip to content

cmd/ausoceantv: if there is no refresh token, prompt consent#523

Merged
trekhopton merged 3 commits intomainfrom
check-refresh-tok
Mar 28, 2025
Merged

cmd/ausoceantv: if there is no refresh token, prompt consent#523
trekhopton merged 3 commits intomainfrom
check-refresh-tok

Conversation

@trekhopton
Copy link
Collaborator

There's no way of getting another refresh token if it's gone for some reason (user clears cookies), so we need to check and prompt for consent if it's missing to get another refresh token. Unless we decide we want to store the refresh tokens in our DB.

There's no way of getting another refresh token if it's gone for some reason (user clears cookies),
so we need to check and prompt for consent if it's missing to get another refresh token.
Unless we decide we want to store the refresh tokens in our DB.
This was done to prevent silent errors or unexpected behaviour from nil sessions.
@trekhopton trekhopton merged commit e094375 into main Mar 28, 2025
1 check passed
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.

2 participants