Adobe AccessTokenProvider error

Avatar

Avatar

NareshBabu

Avatar

NareshBabu

NareshBabu

07-03-2021

Hello experts,

 

I am getting the following error when trying to get the access token using the AccessTokenProvider.getAccessToken() method. I am passing the proper parameters, resourceResolver generated from User, user id and claims as null. Below is the screenshot of the error.

 

b9b8c322-bd4f-483a-a368-5dcb224bd2d7.jpeg

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.1K

Likes

1.0K

Correct Reply

1.1K

Avatar

Jörg_Hoh

Employee

Total Posts

3.1K

Likes

1.0K

Correct Reply

1.1K
Jörg_Hoh
Employee

07-03-2021

It looks that you have some problem with your keyStore. 

 

KeyStoreService.getKeyStoreKeyPair (resourceResolver, ID, keyPairAlias) returns null. The KeyPairAlias is the value configured at the OSGI service "Adobe Granite Access Token Provider"  with the property name "auth.token.provider.keypair.alias" (default value is "access-token-key-pair").

 

Answers (0)