Some of apps provided by Placewise are available for embeding using dedicated token. These apps work in context of authorized member.Available apps#
| App | Resource |
|---|
| Receipt Scanner | placewise.com/component/web_form |
| Rewards | placewise.com/component/web_form |
| Games (all) | placewise.com/component/games_api |
Embed token security#
Embed token is single-use to prevent replay attacks.
Application internally receives a session which:can not be refreshed (prolonged),
will be invalidated when the requester's OIDC session expires or terminates.
Fetching the token#
Embedding the application#
Embed token can be passed to the application using one of three methods:POST request#
Currently this method does not work for placewise.com/component/games_api
You can embed the application using POST HTTP request with application/x-www-form-urlencoded content-type and set embedToken=<embed-token> parameter.Currently this method does not work for placewise.com/component/games_api
Add embed-token: <embed-token> header to embedding request.Query param#
This method is the least secure.Even though the embed token is single-use and short-lived, we suggest using other options if possible.
You can pass embedToken=<embed-token> query parameter.