Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

We need to load the widget session from req.session.access_token (Lexi). We also need to remove any req.session.access_token = req.Widgetsession.lexi_access_token that we did to avoid breaking the code.

Keep in mind that postman is sending cookies so session got lost.

A workaround to avoid this is disabling cookies or set this config:


Click whilelist domains.

Add domain. Localhost or staging (depending the environment you want to test)

And in the oauth/token request , please add the following code:

replace last line with the following:
pm.cookies.jar().unset(pm.environment.get("pos_url"),'connect.sid');

This is done to get the postman working on different enviroments, also you need to whitelist all the different enviroments, for example, “posapi-stg.flexiti.fi” (without http:// or https://)

  • No labels