league/oauth2-server
Standards-compliant OAuth 2.0 authorization server for PHP. Protect APIs with bearer access tokens, issue and refresh tokens, and support common grants (auth code, client credentials, device, implicit, password, refresh) with PSR-7 interoperability and RFC support.
supportsGrantType to allow the auth server to issue the response unauthorized_client when applicable (PR #1420)slow_down error happens, because the exception is thrown before calling persistDeviceCode. (PR #1410)slow_down error response may have been returned even after the user has completed the auth flow (already approved / denied the request). (PR #1410)RequestAccessTokenEvent and RequestRefreshTokenEvent events instead of the general RequestEvent event when an access / refresh token is issued using device authorization grant. (PR #1467)invalid_scope error response and wasn't on fragment part of access_denied redirect URI on Implicit grant (PR #1298)revokeRefreshTokens(false) unintentionally disables issuing new refresh token (PR #1449)revokeRefreshTokens() for enabling or disabling refresh tokens after use (PR #1375)getKeyContents() to the CryptKeyInterface (PR #1375)invalid_grant error and a HTTP 400 response. In previous versions the server incorrectly issued an invalid_request and HTTP 401 response (PR #1042) (PR #1082)createAuthorizationRequest() (PR #1111)finalizeScopes() to allow a reference to an auth code ID (PR #1112)toString() instead of the magic method __toString() (PR #1395)revokeRefreshTokens() for enabling or disabling refresh tokens after use (PR #1375)getKeyContents() to the CryptKeyInterface (PR #1375)invalid_grant error and a HTTP 400 response. In previous versions the server incorrectly issued an invalid_request and HTTP 401 response (PR #1042) (PR #1082)createAuthorizationRequest() (PR #1111)finalizeScopes() to allow a reference to an auth code ID (PR #1112)toString() instead of the magic method __toString() (PR #1395)LocalFileReference() in lcobucci/jwt. Function deprecated as per GHSA-7322-jrq4-x5hf (PR #1249)StrictValidAt() method in lcobucci/jwt so we can use version 4.1.x or greater of the library (PR #1236)revokeRefreshTokens() function to decide whether refresh tokens are revoked or not upon use (PR #1189)openssl_pkey_get_private() and openssl_pkey_get_public()` instead of regex matching (PR #1215)empty() check (PR #1181)getRedirectUri function to the OAuthServerException class (PR #1123)code_challenged changed to code_challenge. Thrown by Auth Code Grant when the code challenge does not match the regex. (PR #1130)preg_match() to validate an RSA key, the server will now throw a RuntimeException (PR #1047)Lcobucci\JWT\Builder to build a JWT token. (PR #1060)getIdentifier() added to AccessTokenTrait. The trait cannot be used without the getIdentifier()
method being defined (PR #1051)How can I help you explore Laravel packages today?