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!
部分用戶

特點
廢話不多說,就倆字:
- 全:已集成十多家第三方平臺(國內外常用的基本都已包含),仍然還在持續擴展中([開發計劃]([開發計劃] 待擴展的第三方平臺 · Issue #IUGRK · yadong.zhang/JustAuth - Gitee.com))!
- 簡:API就是奔著最簡單去設計的,盡量讓您用起來沒有障礙感!
專案原始碼庫
- https://gitee.com/yadong.zhang/JustAuth
- https://github.com/justauth/JustAuth
本文由博客群發一文多發等運營工具平臺 OpenWrite 發布
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/245511.html
標籤:Java
下一篇:Class 類檔案結構
