MATLAB Web App server error: Code login failure for some users

6 ビュー (過去 30 日間)
Tom
Tom 2025 年 11 月 12 日
回答済み: Tom 2025 年 11 月 12 日
I have a new on-prem MATLAB Web App server running R2025a, with an Azure AD app registration. Works great for myself but not the other test user, on both Chrome and Edge. The web server logs are showing a strange error message when they go to the home page.
{"level":"WARN","time":"2025-11-12T11:26:09.864-0600","caller":"authnzoidc/authnzoidc.go:302","message":"Code login failure, msg state is invalid","msgState":"<nil>","error":"RetrieveRelayStateAndParse was passed an illegal string "}
Doing a web search for the message found only 1 help page with information on verifying the OIDC issuer address, which I did verify is correct on our server. Hoping for any assistance troubleshooting why it's not working for all users.
Help forum page:
https://www.mathworks.com/matlabcentral/answers/2177817-why-do-i-receive-errors-like-unauthorized-or-the-login-state-is-invalid-after-upgrading-matlab-w
  1 件のコメント
Tom
Tom 2025 年 11 月 12 日
I also asked the other user to try an incognito window and they end up with the same issue, where the site thinks they are logged out and can't log in.

サインインしてコメントする。

採用された回答

Tom
Tom 2025 年 11 月 12 日
Found the issue and it's not with the software. The other test user was requested to be part of our internal web admins Azure AD group but that request was never approved, so they don't have permissions to view anything.

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by