refactor: v2 access and refresh tokens (#20486)

* feat: add refreshTokenExpiresAt to /force-refresh, /exchange/, /refresh

* feat: encode ownerId, expiresAt in tokens & return refresh expires at when creating managed user

* driveby:fix: pass language when creating managed user

* refactor: remove void notation and await access token propagation

* refactor: centralize createOAuthTokens and refreshOAuthTokens logic

* docs: tokens expires at and payload

* chore: comment selectedDate in examples app booker
This commit is contained in:
Lauris Skraucis authored and GitHub committed 2025-04-02 17:27:00 +03:00
1 parent b0a85a5637
commit e76bb37f78
13 files changed
+313 -189

No files matched your search

@@ -131,7 +131,7 @@ export default function Bookings(props: { calUsername: string; calEmail: string
? { isTeamEvent: true, teamId: teams?.[0]?.id || 0 }
: { username: props.calUsername })}
hostsLimit={3}
selectedDate={new Date("2025-03-25")}
// selectedDate={new Date("2025-03-25")}
allowUpdatingUrlParams={true}
/>
</>