Justauth

🏆Gitee 最有价值开源项目 🚀💯 小而全而美的第三方登录开源组件。目前已支持Github、Gitee、微博、钉钉、百度、Coding、 Line 等第三方平台的授权登录。 Login, so easy!
Alternatives To Justauth
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Justauth14,788
a month ago30mitJava
🏆Gitee 最有价值开源项目 🚀:100: 小而全而美的第三方登录开源组件。目前已支持Github、Gitee、微博、钉钉、百度、Coding、腾讯云开发者平台、OSChina、支付宝、QQ、微信、淘宝、Google、Facebook、抖音、领英、小米、微软、今日头条、Teambition、StackOverflow、Pinterest、人人、华为、企业微信、酷家乐、Gitlab、美团、饿了么、推特、飞书、京东、阿里云、喜马拉雅、Amazon、Slack和 Line 等第三方平台的授权登录。 Login, so easy!
Spring Boot React Oauth2 Social Login Demo1,133
3 months ago39Java
Spring Boot React OAuth2 Social Login with Google, Facebook, and Github
Simplicity675
54 years ago5October 01, 201617apache-2.0Swift
A simple way to implement Facebook and Google login in your iOS apps.
Auth5262033 months ago65May 07, 202233mitPHP
:atom: Social (OAuth1\OAuth2\OpenID\OpenIDConnect) sign with PHP :shipit:
Mern Boilerplate296
a month ago2JavaScript
Full stack boilerplate with React, Redux, Express, Mongoose, Passport Local, JWT, Facebook and Google OAuth out of the box.
React Native Google Sign In2113615 years ago17November 23, 201746mitObjective-C
React Native Wrapper for Latest Google Sign-In OAuth SDK / API
Socialloginmanager178
6 years ago5apache-2.0Java
DEPRECATED
Worker Auth Providers11615 months ago18January 10, 20233TypeScript
worker-auth-providers is an open-source providers to make authentication easy with workers. Very lightweight script which doesn't need a lot of dependencies. Plug it with any framework or template of workers.
Androidoauth86
7 years ago2Java
A simple way to authenticate with Google and Facebook using OAuth 2.0 in Android
Spring Security Oauth2 Social39
4 years ago1Java
:octocat: Spring Security OAuth2 Social Google Facebook
Alternatives To Justauth
Select To Compare


Alternative Project Comparisons
Readme

Login, so easy.

star github star


star


QQ 230017570
justauth justauth``ja
www.justauth.cn

JustAuth

JustAuth******** SDKSo easy!

JustAuth GithubGiteeGoogleFacebookTwitterStackOverflow

  1. ****
  2. ****API``

  • State
  • OAuth OAuth
  • Http
  • Scope
  • ...

<dependency>
    <groupId>me.zhyd.oauth</groupId>
    <artifactId>JustAuth</artifactId>
    <version>{latest-version}</version>
</dependency>

latest-version

JustAuth ossrh

<repositories>
    <repository>
        <id>ossrh-snapshot</id>
        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>

JustAuth

       <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        <snapshots>
+           <updatePolicy>always</updatePolicy>
            <enabled>true</enabled>
        </snapshots>

**** HTTP __

  • hutool-http

    <dependency>
        <groupId>cn.hutool</groupId>
        <artifactId>hutool-http</artifactId>
        <version>5.7.7</version>
    </dependency>
    
  • httpclient

    <dependency>
    	<groupId>org.apache.httpcomponents</groupId>
      	<artifactId>httpclient</artifactId>
      	<version>4.5.13</version>
    </dependency>
    
  • okhttp

    <dependency>
      <groupId>com.squareup.okhttp3</groupId>
      <artifactId>okhttp</artifactId>
      <version>4.9.1</version>
    </dependency>
    

api

// request
AuthRequest authRequest = new AuthGiteeRequest(AuthConfig.builder()
        .clientId("clientId")
        .clientSecret("clientSecret")
        .redirectUri("redirectUri")
        .build());
// 
authRequest.authorize("state");
// codeauth_codestate1.8.0AuthCallback
// JustAuthstate33state
authRequest.login(callback);

Builder

AuthConfig

AuthRequest authRequest = AuthRequestBuilder.builder()
    .source("github")
    .authConfig(AuthConfig.builder()
        .clientId("clientId")
        .clientSecret("clientSecret")
        .redirectUri("redirectUri")
        .build())
    .build();
// 
  authRequest.authorize("state");
// codeauth_codestate1.8.0AuthCallback
// JustAuthstate33state
  authRequest.login(callback);

Builder

AuthConfig

AuthRequest authRequest = AuthRequestBuilder.builder()
    .source("gitee")
    .authConfig((source) -> {
        //  source  AuthConfig
        //  sql 
        return AuthConfig.builder()
            .clientId("clientId")
            .clientSecret("clientSecret")
            .redirectUri("redirectUri")
            .build();
    })
    .build();
Assert.assertTrue(authRequest instanceof AuthGiteeRequest);
System.out.println(authRequest.authorize(AuthStateUtils.createState()));

Builder

AuthRequest authRequest = AuthRequestBuilder.builder()
    //  AuthSource 
    .extendSource(AuthExtendSource.values())
    // source  AuthExtendSource  name
    .source("other")
    // ... 
    .build();

JustAuth

JustAuth

JustAuth -

  • JetBrains License

lets-mica

contributors

Stars

Gitee

Stargazers over time

Github

Stargazers over time

ProductHunt

JustAuth - Login, so easy! | Product Hunt Embed

Popular Oauth Projects
Popular Google Login Projects
Popular Security Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Oauth
Google Login