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

Renew access & refresh token on expiration #63 #129

Merged
merged 4 commits into from
Nov 30, 2023
Merged

Conversation

hupf
Copy link
Collaborator

@hupf hupf commented Nov 7, 2023

@caebr Ich habe das Token Renewal implementiert und lokal mit kürzeren Zeiten getestet. Werde es aber noch mit der vollen Token-Gültigkeitsdauer testen.

@hupf hupf requested a review from caebr November 7, 2023 14:53
@hupf hupf self-assigned this Nov 7, 2023
src/utils/auth.ts Show resolved Hide resolved
@hupf hupf force-pushed the feature/63-token-renewal branch from dae88ba to 4600fb0 Compare November 8, 2023 13:19
@hupf
Copy link
Collaborator Author

hupf commented Nov 8, 2023

@caebr Ich habe das Starten des Refresh Token Timers, wenn schon ein Token da ist noch hinzugefügt. Ausserdem habe ich Logging Helpers gemacht, welche nur im Dev Mode loggen. So könne wir die expire Time rausloggen... dabei habe ich auch das ganze Auth-Logging auf diese Helpers umgestellt.

@hupf hupf force-pushed the feature/63-token-renewal branch 3 times, most recently from c8a65e3 to f177fbc Compare November 9, 2023 13:30
@hupf hupf force-pushed the feature/63-token-renewal branch 2 times, most recently from dc2ffc0 to d0c5097 Compare November 9, 2023 15:39
@hupf hupf force-pushed the feature/63-token-renewal branch from d0c5097 to ea0b7aa Compare November 9, 2023 15:49
@hupf
Copy link
Collaborator Author

hupf commented Nov 9, 2023

@caebr Ich habe auf diesem Branch das Refactoring auf die TokenState Facade gemacht. Das Token Renewal basiert nun darauf.

@hupf hupf merged commit 5e664dc into main Nov 30, 2023
2 checks passed
@hupf hupf deleted the feature/63-token-renewal branch November 25, 2024 10:56
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