Looking for a guide on oauth2resttemplate

1.7k Views Asked by At

Iam trying to implement an oauth2 client for my application. I am able to get it working with RestTemplate by generating the token and adding that to the bearer header programmatically. Then I found the oauth2RestTemplate which seems more convenient. But I am not able to find a good example. I am also looking if I can do the token recreation on expiry to happen. Can you please help me how to implement it. I have client ID, client secret and token generation URL.

0

There are 0 best solutions below