Open LeoHeo opened 6 years ago
compile group: 'io.jsonwebtoken', name: 'jjwt', version: "${jjwtVersion}"
compile group: 'org.springframework.security', name: 'spring-security-oauth2-client', version: "${oauth2ClientVersion}"
nimbus-jose-jwt
https://stackoverflow.com/questions/46552922/the-nimbus-jose-jwt-and-io-jsonwebtoken-which-jjwt-library-to-pick-and-why
The jsonwebtoken library was more straightforward to use and had better documentation. But I found nimbus library to be more feature rich and the only one that could work with JWKS.
io.jsonwebtoken 이용
compile group: 'io.jsonwebtoken', name: 'jjwt', version: "${jjwtVersion}"
com.nimbusds.jwt 이용방법
compile group: 'org.springframework.security', name: 'spring-security-oauth2-client', version: "${oauth2ClientVersion}"
nimbus-jose-jwt
가 있음