If you deployed before 2022
A breaking change was introduced in 2022. Starting from this announcement, you would not need to generate your own authentication tokens such as
You can either start from scratch (which is painstakingly simple) - Getting started, or migrate to this latest version with a new OAuth process.
You need to first create a Redis instance, and define the URL of the instance in the environment variable
REDIS_URLin Vercel. You can use Upstash for this.
You need to revert some fields of your customised
config/api.config.jsback, where specifically the
obfuscatedClientSecretshould exactly match:
clientId: "d87bcc39-1750-4ca0-ad54-f8d0efbb2735", obfuscatedClientSecret: "U2FsdGVkX1830zo3/pFDqaBCVBb37iLw3WnBDWGF9GIB2f4apzv0roemp8Y+iIxI3Ih5ecyukqELQEGzZlYiWg=="
You also need to define
config/site.config.js, which is used to verify your identity when doing OAuth. It is usually your Microsoft email address.
You can safely delete old environment variables such as your own