cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2070
Views
5
Helpful
2
Replies

MSO on Nexus Dashboard, API for authentication missing from documentation.

wskinner1
Level 1
Level 1

Reviewing older 2.x releases versus the 3.2+ MSO API documentation, the user authentication API call documentation is now missing from the /mso/docs. I'd imagine this would be handled by the Nexus Dashboard, however unlike MSO it doesn't have a documents folder for API calls.

 

Without the API to authenticate, all of the calls to MSO are denied.

 

Using the old /api/v1/auth/login path that was used in 2.x, now results in a "invalid parameters" status code 500

 

Any hints on where the authentication documentation is now?

1 Accepted Solution

Accepted Solutions

wskinner1
Level 1
Level 1

Okay, so after debugging the nexus dashboard login page.

Using postman, so {{}} are variables I'm using.


Path is now:

https://{{NexusDashboard}}/login

 

Body of request:

{"userName":"{{username}}","userPasswd":"{{password}}","domain":"DefaultAuth"}

 

So basically the path is completely different, and they changed the attribute names on username, password, and domainid from the MSO 2.x code.

Response item is also now attribute "jwttoken".

View solution in original post

2 Replies 2

wskinner1
Level 1
Level 1

Okay, so after debugging the nexus dashboard login page.

Using postman, so {{}} are variables I'm using.


Path is now:

https://{{NexusDashboard}}/login

 

Body of request:

{"userName":"{{username}}","userPasswd":"{{password}}","domain":"DefaultAuth"}

 

So basically the path is completely different, and they changed the attribute names on username, password, and domainid from the MSO 2.x code.

Response item is also now attribute "jwttoken".

Hi, apparently the content of https://mso-ip-address/mso/docs is now available at https://nd-ip-address/apidocs/.