- 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?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 11 Apr 2022
Modificato: MathWorks Support Team
il 25 Nov 2025 alle 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."

Risposta accettata
MathWorks Support Team
il 25 Nov 2025 alle 0:00
Modificato: MathWorks Support Team
il 25 Nov 2025 alle 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su MATLAB Web App Server in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!