The clientId
of a Forge app is stored in the
providers section of the manifest.yml
file
and the secret is set by running the providers
command in the Forge CLI.
Due to the clientId
being stored in the manifest.yml
file, the clientId
value gets versioned
over time. This means that users on the old version of the app will continue to use the old clientId
until they upgrade to the latest version of the app.
Learn more about Forge versions.
In the providers.auth section of the
manifest.yml
file, change the client ID.
Navigate to the app's top-level directory and deploy your app by running:
1 2forge deploy
This causes a major version upgrade of your app. Users are required to upgrade to the latest version.
Set the client secret by running:
1 2forge providers configure
Select the provider you want to configure.
Enter the new secret.
In the time between deploying the app and setting the new secret, users who upgrade to a new major version do not have a secret set.
Rate this page: