Working with OAuth 2.0 providers involves more complexity in your app, as you manage multiple places to configure things correctly. This page covers ways to solve common error conditions, helping you to successfully develop a Forge app with external authentication.
Error message:
could not retrieve access token from the provider
could not retrieve access token from the provider: Unexpected response status code 502 from api.atlassian.com
could not retrieve access token from the provider: Birdy Timeout Error
Action:
manifest.yml
file.Error message:
could not retrieve profile information
could not retrieve profile information: Birdy Timeout Error
Action:
manifest.yml
file.Error message:
could not retrieve profile information: Authorization Failed: Could not extract internalAccountId from the response
Action:
The id
parameter in the static profile retriever
is incorrect. Check the identity provider's documentation for the endpoint you are using to
ensure the field name is correct and is a string.
Error message:
There was an error invoking the function - Authentication required
Action:
Ensure this function's manifest entry has the providers
reference on it.
External authentication only supports authorization code grants.
Rate this page: