V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
zhangyadong
V2EX  ›  开源软件

justauth-spring-boot-starter V1.3.5 发布成功

  •  
  •   zhangyadong · 2021-01-06 09:30:14 +08:00 · 1250 次点击
    这是一个创建于 1198 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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 是 Spring security 集成 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!

    部分用户

    image.png

    特点

    废话不多说,就俩字:

    1. :已集成十多家第三方平台(国内外常用的基本都已包含),仍然还在持续扩展中([开发计划]([开发计划] 待扩展的第三方平台 · Issue #IUGRK · yadong.zhang/JustAuth - Gitee.com))!
    2. :API 就是奔着最简单去设计的,尽量让您用起来没有障碍感!

    项目源码库

    本篇文章由一文多发平台ArtiPub自动发布

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5347 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 07:28 · PVG 15:28 · LAX 00:28 · JFK 03:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.