Using The Launcher JWT
The simplest way to integrate your experience with OpenPage is to make use of the launcher JWT. This approach works by directing a user to your experience with a session JWT included in the URL.1
Create your Experience using the API.
Request Example:After creating your experience you will receive an experience
id and secret. Save these as they will be needed to make use of the launcher API endpoints in the next steps.If you don’t already have hosting for your images you can upload them using OpenPage Files.
2
Receive a JWT
Receive a JWT auth token in the URL when a user is directed to your experience containing the user’s wallet address and avatar information.
https://yourexperience.com?token=eyJhbGciOiJIUzI1...Decoded JWT Example:3
Use the Launcher API
Attribute badges or send mintables at any point while the user is on your app. Example Badge Attribution:
