oauth2-client

This PHP package provides a basis for easily adding OAuth 2.0 authorization flow and service provider integration to web applications. RFC works directly with standard OAuth 2.0 providers using 6749 and carrier indicator. You can support special behaviors by expanding the library or using existing official and third-party provider clients.

OA

thephpleague · Authentication & Identity

STARS3.8K
FORKS769
COMMITS0
CONTRIBUTORS0
VERSION2.9.1
UPDATED1 mo ago
PHPOAuth 2.0AuthenticationPSR-compliantMIT

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • Using the GenericProvider class, you connect to any service provider that supports a carrier indicator.
  • You use existing official or third-party provider clients to integrate with services such as Facebook and GitHub.
  • By expanding the library, you create custom providers that support additional functions beyond the standard OAuth 2.0 specification.
User reviews
  • • NeutralGitHub Issue

    [RFC] Provider User Entity Interface/Abstract

    “OAuth 2.0 does not define a User entity. However, we're providing an `Entity\User` class in this library. As a result of how various providers handle users and user data, we've had to modify this class numerous times to support each provider. Now that there are no more providers…”

  • • NeutralGitHub Issue

    Move Providers to their own Repositories

    “- Eventbrite - [x] Find a maintainer - [x] Link in the README - [x] Remove from league/oauth2-client - Facebook - [x] Make a new GitHub repo - [x] Link in the README - [x] Remove from league/oauth2-client - [x] Document any custom params - Github - [x] Make a new GitHub repo -…”

My note

Alternative pages

More in: Authentication & Identity