Web app server does not use the refresh token when using OIDC authentication

2 ビュー (過去 30 日間)
Eyal Doron
Eyal Doron 2025 年 4 月 15 日
We have purchased the Web App Server to host matlab apps on the web in AWS. We are using OIDC authentication using Amazon Cognito as the IdP.
When using OIDC, one receives an ID token with a limited validity time, the max period being 1 day. When it runs out, the app server displays an error message, and one has to re-login manually. This is inconvenient for our customers, who may have the app open for longer periods.
The standard OIDC way to deal with token timeout is to use the refresh token (also provided by Cognito) to automatically request a new ID token from the IdP. However, it seems that the Matlab Web App Server does not support refresh tokens as far as we could find. Is there any workaround for this? Are there plans to add auto-refresh authentication in a future release?

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Web App Server についてさらに検索

製品


リリース

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by