Refresh managed provider credentials on resolve
This commit is contained in:
parent
d6f11821c2
commit
f3e1f9c292
6 changed files with 280 additions and 3 deletions
|
|
@ -40,6 +40,8 @@ What exists right now is:
|
|||
and managed creator connections
|
||||
- an app-authenticated managed-credential resolve endpoint so StreamPixels can
|
||||
call provider APIs without storing refresh tokens locally
|
||||
- managed Twitch/YouTube credentials refresh inside Heimdall before resolution
|
||||
when they are expired or near expiry
|
||||
- StreamPixels now starts viewer and creator Twitch/YouTube OAuth through
|
||||
Heimdall, redeems one-time completion codes server-side, and keeps local
|
||||
profile/creator connector binding state in StreamPixels
|
||||
|
|
|
|||
|
|
@ -393,6 +393,9 @@ Important behavior:
|
|||
- this endpoint only works for providers listed in the app profile's
|
||||
`managedConnectionProviders`
|
||||
- it returns access tokens only; refresh tokens remain in Heimdall custody
|
||||
- when a stored managed credential is expired or within the refresh window,
|
||||
Heimdall refreshes it before returning the access token and persists rotated
|
||||
access/refresh tokens
|
||||
- app-local binding, diagnostics, subscription setup, and runtime behavior stay
|
||||
app-owned
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue