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

Pxgrid 2.0 API - Failing authz for Session-Directory service ?

Michal Garcarz
Cisco Employee
Cisco Employee

Hello Team,

Aim: get session info via PxGrid API.

Followed this:

https://github.com/cisco-pxgrid/pxgrid-rest-ws/wiki/pxGrid-Consumer

 

Got all working fine. Since i want to use:

https://github.com/cisco-pxgrid/pxgrid-rest-ws/wiki/Session-Directory

I have requested for that service:

Screen Shot 2018-08-28 at 23.18.53.png

I got restBaseURL + nodeName as a response, then another request for that nodeName to get secret:

Screen Shot 2018-08-28 at 23.19.09.png

So now i do have restBaseURL + node + secret, so tried to use that node+secret to get a session list:

Screen Shot 2018-08-28 at 23.19.20.png

And failing here. Authz failing.

 

Where is my mistake ?

Thanks,

Michal

1 Accepted Solution

Accepted Solutions

jeppich
Cisco Employee
Cisco Employee

Hey Michal,

 

This should the Username should be the name pxGrid client.

 

I wrapping up the pxGrid 2.0 TDM deck with these details included.  If you would like a draft unicast me via email.

 

Thanks,

John

jeppich@cisco.com

View solution in original post

2 Replies 2

jeppich
Cisco Employee
Cisco Employee

Hey Michal,

 

This should the Username should be the name pxGrid client.

 

I wrapping up the pxGrid 2.0 TDM deck with these details included.  If you would like a draft unicast me via email.

 

Thanks,

John

jeppich@cisco.com

Hey Michal,

 

Also you can go to www.cisco.com/go/pxgridpartner

register and under pxGrid 2.0, there is the How-to-Guide for pxGrid 2.0 and includes pxGrid Context-In as well. This also provides details on downloading github java examples.

The pxGrid devnet site is also in the process of being re-designed and will have all coding examples recording and posted.  The Overview section will also be updated, and the API Simulator is a demo script illustrating pxGrid Context-In.

 

Thanks,

John

jeppich@cisco.com