1. Usage of member tokens
Placewise Member IdP
  • Overview
    • Introduction
    • OpenID Connect
      • Overview
      • Issuer and Discovery URL
    • Usage of member tokens
      • Usage of Placewise API in context of member
      • ID token
      • Fetching token to embed an application
    • Customizing the experience
      • Configuration of UI, Social Logins and Messages (emails/smses)
      • Optional parameters available during authorization
  • Reference
    • OIDC
      • WellKnown::Jwk
        • index
      • WellKnown::OpenidConfiguration
        • show
      • Authorization
        • create
        • create
      • Token
        • revoke
        • create
      • Session
        • destroy
      • Userinfo
        • show
      • Embed
        • Create token
  1. Usage of member tokens

Fetching token to embed an application

Some of apps provided by Placewise are available for embeding using dedicated token. These apps work in context of authorized member.

Available apps#

AppResource
Receipt Scannerplacewise.com/component/web_form
Rewardsplacewise.com/component/web_form
Games (all)placewise.com/component/games_api

Embed token security#

Is opaque.
Embed token is single-use to prevent replay attacks.
It has 30 seconds TTL.
Application internally receives a session which:
is valid for 24 hours,
can not be refreshed (prolonged),
will be invalidated when the requester's OIDC session expires or terminates.

Fetching the token#

In order to receive token, client must execute Embed/Create token request.

Embedding the application#

Embed token can be passed to the application using one of three methods:

POST request#

NOTE
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.

Header#

NOTE
Currently this method does not work for placewise.com/component/games_api
Add embed-token: <embed-token> header to embedding request.

Query param#

WARNING
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.
Modified at 2026-07-17 09:05:34
Previous
ID token
Next
Configuration of UI, Social Logins and Messages (emails/smses)
Built with