Skip to content

yls087412/IdentityServer4ProtectSpringbootApi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IdentityServer4ProtectSpringbootApi

Use IdentityServer4 to Protect Springboot Api

用IdentityServer4作为一个AuthorizationServer,然后Springboot作为一个ResourceApi,也就是需要保护的API服务。用户在IdServer获取token之后,可以使用这个token去调用Springboot的API。

这里仅仅是一个Springboot的Api服务。

http://localhost:5588为IdentityServer的地址。 /getCustomer 为需要访问的API地址。

About

Use IdentityServer4 to Protect Springboot Api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%