PHPackages                             affinidi/laravel-hybridauth-affinidi - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. affinidi/laravel-hybridauth-affinidi

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

affinidi/laravel-hybridauth-affinidi
====================================

Affinidi (affinidi.com) OIDC Provider for Hybridauth.

v1.4.0(2y ago)0112MITPHPPHP ^8.0CI passing

Since Jan 8Pushed 2y ago2 watchersCompare

[ Source](https://github.com/affinidi/laravel-hybridauth-affinidi)[ Packagist](https://packagist.org/packages/affinidi/laravel-hybridauth-affinidi)[ Docs](https://affinidi.com)[ RSS](/packages/affinidi-laravel-hybridauth-affinidi/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

Overview
========

[](#overview)

**AUGMENT EXPERIENCES WITH A SAFER, SIMPLER AND MORE PRIVATE WAY TO LOGIN**

A paradigm shift in the registration and sign-in process, Affinidi Login is a game-changing solution for developers. With our revolutionary passwordless authentication solution your user's first sign-in doubles as their registration, and all the necessary data for onboarding can be requested during this streamlined sign-in/signup process. End users are in full control, ensuring that they consent to the information shared in a transparent and user-friendly manner. This streamlined approach empowers developers to create efficient user experiences with data integrity, enhanced security and privacy, and ensures compatibility with industry standards.

Passwordless AuthenticationDecentralised Identity ManagementUses Latest StandardsOffers a secure and user-friendly alternative to traditional password-based authentication by eliminating passwords and thus removing the vulnerability to password-related attacks such as phishing and credential stuffing.Leverages OID4VP to enable users to control their data and digital identity, selectively share their credentials and authenticate themselves across multiple platforms and devices without relying on a centralised identity provider.Utilises OID4VP to enhance security of the authentication process by verifying user authenticity without the need for direct communication with the provider, reducing risk of tampering and ensuring data integrity.Introduction
------------

[](#introduction)

This package extends HybridAuth to enable passwordless authentication with the Affinidi OIDC provider.

Learn more about Hybridauth [here](https://hybridauth.github.io/)

**Quick Links**

1. [Installation &amp; Usage](#installation--basic-usage)
2. [Create Affinidi Login Configuration](#create-affinidi-login-configuration)
3. Run [Sample Playground Project](#setup--run-application-from-playground-folder)
4. Affinidi Login Integration in [Fresh Laravel Project](/docs/Fresh-Laravel-HybridAuth.md)

Installation &amp; Basic Usage
------------------------------

[](#installation--basic-usage)

To get started with Affinidi hybridauth, follow these steps:

1. Install the Affinidi hybridauth package using Composer:

```
composer require affinidi/laravel-hybridauth-affinidi

```

2. Create a configuration file `hybridauth.php` with below content under `config` folder:

```

```

3. Create `LoginRegisterController.php` file under `app\Http\Controllers`, which has actions to perform normal login, logout, affinidi login and its callback, reference can be found [here](playground%5Cexample%5Capp%5CHttp%5CControllers%5CLoginRegisterController.php)

```
