PHPackages                             socialiteproviders/uaepass - 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. socialiteproviders/uaepass

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

socialiteproviders/uaepass
==========================

UAEPass Oauth2 Provider for Laravel Socialite

4.0.0(1y ago)31.3k↓22.2%MITPHPPHP ^8.1

Since Jun 11Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/SocialiteProviders/UAEPass)[ Packagist](https://packagist.org/packages/socialiteproviders/uaepass)[ RSS](/packages/socialiteproviders-uaepass/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

UAEPass
=======

[](#uaepass)

```
composer require socialiteproviders/uaepass
```

Set UAE PASS Environment
========================

[](#set-uae-pass-environment)

```
UAEPASS_BASE_URL="https://stg-id.uaepass.ae"
UAEPASS_CLIENT_ID="sandbox_stage"
UAEPAS_CLIENT_SECRET="sandbox_stage"
UAEPAS_REDIRECT_URI="http://my-app.test/callback"
```

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

[](#installation--basic-usage)

Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), then follow the provider specific instructions below.

### Add configuration to `config/services.php`

[](#add-configuration-to-configservicesphp)

```
'uaepass' => [
    'base_url'      => env('UAEPASS_BASE_URL', 'https://stg-id.uaepass.ae'),
    'client_id'     => env('UAEPASS_CLIENT_ID'),
    'client_secret' => env('UAEPAS_CLIENT_SECRET'),
    'redirect'      => env('UAEPAS_REDIRECT_URI')
],
```

### Add provider event listener

[](#add-provider-event-listener)

#### Laravel 11+

[](#laravel-11)

In Laravel 11, the default `EventServiceProvider` provider was removed. Instead, add the listener using the `listen` method on the `Event` facade, in your `AppServiceProvider` `boot` method.

- Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers.

```
Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) {
    $event->extendSocialite('uaepass', \SocialiteProviders\UAEPPass\Provider::class);
});
```

Laravel 10 or below Configure the package's listener to listen for `SocialiteWasCalled` events. Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions.

```
protected $listen = [
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        // ... other providers
        \SocialiteProviders\UAEPass\UAEPassExtendSocialite::class.'@handle',
    ],
];
```

### Usage

[](#usage)

You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):

```
return Socialite::driver('uaepass')
->with(['acr_values' => 'urn:safelayer:tws:policies:authentication:level:low'])
->redirect();
```

### Returned User fields

[](#returned-user-fields)

- `uuid`
- `sub`
- `fullnameAR` (same as `full name arabic`)
- `fullnameEN` (same as `full name english`)
- `firstnameAR`
- `lastnameAR`
- `firstnameEN`
- `lastnameEN`
- `email`
- `mobile`
- `idn`
- `gender`
- `nationalityAR`
- `nationalityEN`
- `userType`

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance61

Regular maintenance activity

Popularity23

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

700d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/65eb3a7ba2a2c13b3a9de48b836caf759ad4052f9a839e30464c80d177d5b3d2?d=identicon)[atymic](/maintainers/atymic)

---

Top Contributors

[![lucasmichot](https://avatars.githubusercontent.com/u/513603?v=4)](https://github.com/lucasmichot "lucasmichot (2 commits)")[![ahaneef29](https://avatars.githubusercontent.com/u/10325179?v=4)](https://github.com/ahaneef29 "ahaneef29 (1 commits)")[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (1 commits)")[![maks-oleksyuk](https://avatars.githubusercontent.com/u/90793591?v=4)](https://github.com/maks-oleksyuk "maks-oleksyuk (1 commits)")

---

Tags

laraveloauthoauth1oauth2social-mediasocialitesocialite-providerslaravelprovideroauthsocialiteuaepass

### Embed Badge

![Health badge](/badges/socialiteproviders-uaepass/health.svg)

```
[![Health](https://phpackages.com/badges/socialiteproviders-uaepass/health.svg)](https://phpackages.com/packages/socialiteproviders-uaepass)
```

###  Alternatives

[socialiteproviders/microsoft

Microsoft OAuth2 Provider for Laravel Socialite

326.1M13](/packages/socialiteproviders-microsoft)[socialiteproviders/instagram

Instagram OAuth2 Provider for Laravel Socialite

421.9M5](/packages/socialiteproviders-instagram)[kovah/laravel-socialite-oidc

OpenID Connect OAuth2 Provider for Laravel Socialite

2073.7k](/packages/kovah-laravel-socialite-oidc)[socialiteproviders/kakao

Kakao OAuth2 Provider for Laravel Socialite

10484.7k4](/packages/socialiteproviders-kakao)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
