0

Trying to configure both 3-legged and 2-legged authentication with OAuth 1.0(a) and Spring Boot via Java Configuration (not using XML).

Does anyone have any examples/tutorials for a Java-based configuration for either the 2 or 3 legged approaches?

Thank you, Matt

Matthew Holt
  • 149
  • 1
  • 11

1 Answers1

0

enroth's answer here worked for me: https://stackoverflow.com/a/42143001/11274383

Note: We are using OAuth 1.0(a) so on the BaseProtectedResourceDetails I added this to be safe: details.setUse10a(true);

Matthew Holt
  • 149
  • 1
  • 11