简体   繁体   中英

How can i implement Oauth2 in SpringBoot client-server comunnication beside of Spring Oauth and external Oauth providers?

I'm looking for different way to implement Oauth2 between client and server which are developed with Spring Boot. I already tried with Spring Oauth and external providers and both ways implemented with success but they don't meet my expectations. Any suggestions are appreciated.

All OAuth2 server provides OIDC endpoints which can be accessed using the clients and secrets provided by the sevrer. You can use Rest calls inside the code using HttpClient or Resteasy to access these endpoints. Also the URLs for endpoints that need to be accessed are based on the provider of the Oauth2 service (Auth0 or Keycloak). You can find the specification of the endoints of Oauth2 here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM