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

2 Ansichten (letzte 30 Tage)
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?

Antworten (0)

Kategorien

Mehr zu MATLAB Web App Server finden Sie in Help Center und File Exchange

Produkte


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by