user2291204
user2291204

Reputation: 21

Token generation in REST API WCS

How the WCToken can be generated without invoking either the login/guest services in REST API?

We can use the WCToken generated form either login/guest and calling various other webservices to retrieve data, how can we call other services without calling login/guest?

I have found from my observation like, WCToken is generated based on the userId along with 2 more tokens(activitytokenid, activitytokenSignature). Is this WCToken stored in any database tables?

Upvotes: 2

Views: 2267

Answers (1)

Steve McDuff
Steve McDuff

Reputation: 338

How the WCToken can be generated without invoking either the login/guest services in REST API?

This isn't possible without customization.

We can use the WCToken generated form either login/guest and calling various other webservices to retrieve data, how can we call other services without calling login/guest?

You can call REST services without calling login or guest first. Your request will be handled as a generic user.

I have found from my observation like, WCToken is generated based on the userId along with 2 more tokens(activitytokenid, activitytokenSignature). Is this WCToken stored in any database tables?

The data within the token is an encrypted version of what is stored in the CTXMGT table.

Upvotes: 1

Related Questions