Forum Discussion

kulandaivelu_s's avatar
3 years ago

Even for new token and trying to connect with using

Even for new token and trying to connect with using the new API id and token ..getting same error "Connecting... Using id_token Connection faild: PureError: Could not retrieve a new access token API Client could not initialize." IS there something need to validate from Pure end
  • pure1 doesn’t use an api token. we have an application id and you associate your public key to that app id in Pure1 administration. You then take your private key and use it to build the JWT for authentication locally. your app id is also a param in the jwt.
  • when you login to Pure1, go to left pane section “administration” and then api registration. you can verify the app id and public key for your application name.
  • from there, you’ll build your jwt(to be used as the subject_token/id_token here) with the app id, the private key associated with the pubkey in pure1, and iat/exp params.