- Does the MATLAB Web App Server have access to the attribute used for role assignment? (See What attributes can I use for role-/policy-based access with MATLAB Web App Server?)
- Does the attribute match the exact same name and value (including capitalization) as in your identity provider? For example: "mail" vs. "email", or "jdoe" vs. "JDoe".
- If you are assigning roles based on group membership, check if your identity provider limits the number of groups included in JWT tokens.
- For further troubleshooting, test to confirm the attributes being passed to the MATLAB Web App Server with your current configuration:
Why do I receive the error "You have logged out. To access MATLAB web apps, log back in." on MATLAB Web App Server?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 11 de Abr. de 2022
Editada: MathWorks Support Team
el 25 de Nov. de 2025 a las 16:38
I configured my web app server to authenticate with OIDC (Azure AD). I’m able to login but I directly get taken to this page asking me to login again and the same loop keeps happening. The message is "You have logged out. To access MATLAB web apps, log back in."

Respuesta aceptada
MathWorks Support Team
el 25 de Nov. de 2025 a las 0:00
Editada: MathWorks Support Team
el 25 de Nov. de 2025 a las 16:38
This behavior indicates that you do not have access to the server based on the rules configured from Role-based Access. You must be assigned either the User or Author role based on the rules dictated in the webapps_app_roles.json file to be able to access the server.
If you believe you should have access based on these rules but still encounter this error, consider the following:
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Web App Server en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!