Looking for PHP classes that will authenticate against existing OAuth or SAML IdP servers

This page summarizes the projects mentioned and recommended in the original post on /r/opensource

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
  1. php-saml

    Simple SAML toolkit for PHP

    I use this library for SAML. The trouble is SAML is quite complex with a lot of options, and the journey requires you to send off the user to the IdP in the correct way, then receive them back in the right manner (Which is often a POST back to your app so can take some extra dancing if you use samesite=lax cookie-based sessions). Additionally, you'd often want to serve an endpoint for your app's metadata. So not really something that can be served by a single method returning a boolean.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. OAuth 2.0 Client

    Easy integration with OAuth 2.0 service providers.

    In regards to oauth the phpleague packages are fairly popular. Again, the flow requires some redirect dancing so not something that can be (simply) just a single boolean-returning method on the PHP side. Additionally, oauth is a relatively weak standard (Especially where you want to verify identity) in which case platform specific actions/tweaks are needed hence why most use platform-specific oauth libraries. OIDC builds upon oauth to standardize the flow, including getting the identity, but it isn't supported by all platforms offering oauth.

  4. oauth2-github

    GitHub Provider for the OAuth 2.0 Client

    In regards to oauth the phpleague packages are fairly popular. Again, the flow requires some redirect dancing so not something that can be (simply) just a single boolean-returning method on the PHP side. Additionally, oauth is a relatively weak standard (Especially where you want to verify identity) in which case platform specific actions/tweaks are needed hence why most use platform-specific oauth libraries. OIDC builds upon oauth to standardize the flow, including getting the identity, but it isn't supported by all platforms offering oauth.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Best social login library for PHP ("sign in with Apple/Google/Facebook" etc.)?

    1 project | /r/PHPhelp | 21 May 2023
  • Looking for low security and simple login ideas.

    1 project | /r/PHPhelp | 30 Aug 2022
  • Best social login library for PHP ("sign in with Apple/Google/Facebook" etc.)?

    5 projects | /r/PHP | 21 May 2023
  • Mobile application using website's PHP OAuth

    3 projects | /r/PHPhelp | 4 Mar 2023
  • The PHPer's Guide to OAuth

    7 projects | dev.to | 21 Nov 2022

Did you know that PHP is
the 14th most popular programming language
based on number of references?