Troubleshooting IDP configuration issues Skip Navigation

Troubleshooting IDP configuration issues

Problem
Possible cause
Possible solution
After you initialize the
BlackBerry AppSecure SDK
with
enableSecurity
, the app does not run.
The
BlackBerry
App Client ID is missing from AndroidManifest.xml or from the info.plist of the
Xcode
project.
After calling
provideToken
, the following are returned:
  • ErrorDomain: AppConfig
  • ErrorType: ErrorTypeTokenInvalidClientID
The
BlackBerry
App Client ID is incorrect, possibly because the value was not copied correctly or the client has been deleted.
After calling
provideToken
, the following are returned:
  • ErrorDomain: IDPConfig
  • ErrorType: ErrorTypeNoBearerPolicyForClient
The discovery URL for your identity provider in
my
Account
does not match the issuer (iss) in your JWT Bearer token.
Update the discovery URL to match the issuer of the IDP.
After calling
provideToken
, the following are returned:
  • ErrorDomain: IDPConfig
  • ErrorType: ErrorTypeAzpClaimMismatch
The Authorized Client IDs configured for your IDP in
my
Account
do not match with the Audience (aud) or Authorized Party (azp) fields in your JWT Bearer token.
Update the Authorized Client ID.