- 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 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2022년 4월 11일
편집: MathWorks Support Team
2025년 11월 25일 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."

채택된 답변
MathWorks Support Team
2025년 11월 25일 0:00
편집: MathWorks Support Team
2025년 11월 25일 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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Web App Server에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!