Admin Guide
Snappy Gifts v1.9 Installation Link: https://login.salesforce.com/packaging/installPackage.apexp?p0=04tPh0000005j69IAA
Snappy Auth Provider v2.0 Installation Link: https://login.salesforce.com/packaging/installPackage.apexp?p0=04tPh0000005W0rIAE
Upgrade to Snappy Gifts v1.9
Login to the org as an Admin
Navigate to the relative page: /packaging/installPackage.apexp?p0=04tPh0000005SDNIA2
Follow the upgrade steps
Uninstalling Snappy Auth Provider Unlocked Package and Install Snappy Auth Provider v2.0
An Auth Provider cannot be upgraded, so the existing one will need to be deleted prior to installing the updated Cognito Auth Provider.
Navigate to Setup > Apps > Packaging > Installed Packages, click Uninstall for Snappy Auth Provider
Follow the steps and then click Uninstall
Navigate to the relative URL /packaging/installPackage.apexp?p0=04tPh0000005W0rIAE in the org to install v2.0 of the Snappy Auth Provider
Update your Consumer Secret
Once installed, the Consumer Secret will need to be updated for the Auth Provider. Navigate to Setup > Identity > Auth. Providers
Click Edit to the left of Snappy and enter the Consumer Secret.
Consumer Secret: re4hhimc4e02qbrplndtghe4rjvutpmjdd07or05hjbm858qk9h
Click Save.
SKIP THIS STEP IF YOU HAVE ALREADY PROVIDED YOUR DOMAIN TO SNAPPY
Locate Callback URL and provide to Snappy
Once saved, click into Snappy Auth Provider
Scroll to the Salesforce Configuration section and find the Callback URL and provide this to Snappy to add to the Cognito allow list.
If the callback URL is not added to the allowlist, upon trying to authenticate, you will encounter an error with URL https://auth.snappygifts.com/error?error=redirect_mismatch
Update Named Credential
The Named Credential will also need to be re-added to the Snappy API Access permission set. Navigate to Setup > Users > Permission Sets. Click Snappy API Access
Find Named Credential Access and click it
Click Edit
Select SnappyAPI and click Add
Once SnappyAPI shows under Enabled Named Credentials, click Save