필터 지우기
필터 지우기

I want to access matlab online server using post api but getting 400 error.

조회 수: 7 (최근 30일)
Jay
Jay 2023년 12월 22일
댓글: Jay 2024년 2월 15일
Getting "400" error while authenticating myself using LOCAL aythentication type in mathworks using postman.
  댓글 수: 1
Jay
Jay 2023년 12월 22일
below is the post url:
https://matlab.mathworks.com/service/core/authnz?subjectId=admin&password=admin&mwtype=authnz/PasswordLogin&displayName=jay

댓글을 달려면 로그인하십시오.

답변 (1개)

Ganesh
Ganesh 2023년 12월 22일
Hi @Jay,
The Error Code 400 corresponds to a "Bad Request" from the server side. The error arises as there is no Endpoint from MathWorks to authenticate you using a Post Request on the URL you have mentioned.
I understand that you are trying to authenticate by creating a Local IdP, for which you will need to create an YAML file which looks similar to the following:
identityProviders:
- id: "local"
type: "local"
displayName: "local"
accounts:
- subjectId: "admin"
displayName: "Admin"
password: "admin"
groups: ["admin"]
extra: {}
- subjectId: "stateful"
password: "stateful"
extra: {}
Kindly refer to the following documentation to learn more about configuring server authentication for "MATLAB Online Server"
Hope this helps!

카테고리

Help CenterFile Exchange에서 Install Products에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by