Page to initiate the PKCE flow
If you choose to use the PKCE OAuth flow for integrating your mobile app with Perkville, it is important to create a dedicated page within your app that prompts your customers to establish the connection. This page could be shown when they click on the button for your loyalty program or for referring friends in the app.
Messaging
The message at the top can be fetched from the business' app_connection_message or you can generate your own copy if that is not present.
If the business has not yet launched, you may want to suppress actionable buttons and instead display the business' prelaunch_info_message

Buttons/Actions
Add Email: When customers click on the "Join here" link, we recommend pre-populating their email address on the resultant page using this method. This ensures that they register on Perkville using the same email address that you have on file for them.
Authorize Connection: Clicking the “Authorize connection here” button will initiate the PKCE flow, allowing customers to connect their accounts securely.
Last updated
Was this helpful?

