You are not logged in.
We have eCommerce Portal (non-chorus) where our customers login. We also have the same customers setup to access Chorus.
We want to implement ability to log user into Chrous from our eCommerce portal.
Currently, we do not have SSO (Identity Provider), so we cannot use it.
Can we use /rest/v1/auth/impersonate/byemail API to generate a session ID and use it to navigate customer from our eCommerce portal into Chorus platform?
If yes, how do we use the Session ID to pass onto Chorus UI/portal?
Thank you.
Offline
Hi,
1) /rest/v1/auth/impersonate/byemail will return as sessionID in the response and subsequent requests should state this ID in the 'X-Chorus-Session' header.
In reference to additional questions you posted elsewhere:
2) Does Search REST API allow to lookup items by the Metadata tag and value; or based on last update dates?
A) Depending upon your use case, you might want to create a smart collection through the web interface (e.g. searching for files uploaded or changed in the last 7 days) and then use the API to inspect its contents.
3) Does search REST API make distinction between published items?
A) No, as per 2), it isn't possible to filter by specific criteria. Smart collections in the UI also do not offer a published status filter so you would need to iterate through sets of files to find the published ones.
Best Regards,
Steve
Offline