2 Commits

Author SHA1 Message Date
ab 5a5c9967e1 Merge pull request 'fix(node-player): use expires_in instead of expires_at on AccessToken type' (#9) from feature/JWT-OIDC-SSO into DEV
Publish Metadata Agent Image (dev) / build-and-push-image (push) Successful in 3m38s
Publish Node Player Image (dev) / build-and-push-image (push) Successful in 36s
Publish Web Player Image (dev) / build-and-push-image (push) Successful in 1m50s
Reviewed-on: #9
2026-04-08 14:11:17 +00:00
Ultradesu f3392eff9f fix(node-player): use expires_in instead of expires_at on AccessToken type
Publish Web Player Image / build-and-push-image (push) Waiting to run
Publish Metadata Agent Image / build-and-push-image (push) Successful in 4m18s
Publish Node Player Image / build-and-push-image (push) Successful in 1m20s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 15:01:30 +01:00
+2 -2
View File
@@ -86,7 +86,7 @@ app.get('/auth/token', (req, res) => {
}
const accessToken = req.oidc.accessToken?.access_token;
const expiresAt = req.oidc.accessToken?.expires_at;
const expiresAt = req.oidc.accessToken?.expires_in;
if (!accessToken) {
res.status(500).json({ error: 'no access token in session' });
return;
@@ -95,7 +95,7 @@ app.get('/auth/token', (req, res) => {
res.json({
access_token: accessToken,
token_type: 'Bearer',
expires_at: expiresAt,
expires_in: expiresAt,
});
});