justauth-spring-boot-starter V1.3.5 发布成功
关于 justauth-spring-boot-starter
justauth-spring-boot-starter 是 Spring Boot 集成 JustAuth 的最佳实践。如果你的项目是基于 Spring Boot 构建,则推荐你用 justauth-spring-boot-starter ,源码地址:justauth-spring-boot-starter
justauth-spring-boot-starter 是由在github已获20k关注度的深度学习并实战springboot项目的作者(xkcoding)提供,项目地址,spring-boot-demo
论小白上手 Spring Boot 、老手深度学习 Spring Boot,spring-boot-demo最适合!
使用帮助
基础配置
- 引用依赖
<dependency> <groupId>com.xkcoding.justauth</groupId> <artifactId>justauth-spring-boot-starter</artifactId> <version>1.3.5</version> </dependency> - 添加配置,在
application.yml中添加配置配置信息
注意:
justauth.type节点的配置,请根据项目实际情况选择,多余的可以删除- 如果使用 QQ 登录,并且需要获取
unionId,则必须传union-id配置,并置为true - 如果使用支付宝登录,必传
alipay-public-key - 如果使用
Stack Overflow登录,必传stack-overflow-key - 如果使用企业微信登录,必传
agent-id - 如果使用
CODING登录,必传coding-group-name
更多使用帮助,请参考 README
justauth-spring-security-starter
justauth-spring-security-starter:1.1.12也已由社区小伙伴发布完成。justauth-spring-security-starter是Springsecurity集成JustAuth实现第三方授权登录脚手架。项目地址:justauth-spring-boot-security-starter。 该项目
- 支持所有justAuth支持的第三方登录,登录后自动注册或绑定.
- 支持定时刷新accessToken,支持分布式定时任务,
- 支持第三方授权登录的用户信息表与token信息表的缓存功能.
- 支持第三方绑定与解绑及查询接口。
关于 Just Auth
JustAuth,如你所见,它仅仅是一个第三方授权登录的工具类库,它可以让我们脱离繁琐的第三方登录 SDK,让登录变得So easy!
目前已支持 Github 、Gitee 、微博、钉钉、百度、Coding 、腾讯云开发者平台、OSChina 、支付宝、QQ 、微信、淘宝、Google 、Facebook 、抖音、领英、小米、微软、今日头条、Teambition 、StackOverflow 、Pinterest 、人人、华为、企业微信、酷家乐、Gitlab 、美团、饿了么和推特等第三方平台的授权登录。Login, so easy!
部分用户

特点
废话不多说,就俩字:
- 全:已集成十多家第三方平台(国内外常用的基本都已包含),仍然还在持续扩展中([开发计划]([开发计划] 待扩展的第三方平台 Issue #IUGRK yadong.zhang/JustAuth - Gitee.com))!
- 简:API 就是奔着最简单去设计的,尽量让您用起来没有障碍感!
项目源码库
本篇文章由一文多发平台ArtiPub自动发布
