PHPackages                             andrewklau/socialite-openshift - 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. andrewklau/socialite-openshift

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

andrewklau/socialite-openshift
==============================

OpenShift OAuth2 Provider for Laravel Socialite

v2.0.2(9y ago)0341MITPHPPHP &gt;=5.5.9

Since Nov 13Pushed 9y agoCompare

[ Source](https://github.com/andrewklau/socialite-openshift)[ Packagist](https://packagist.org/packages/andrewklau/socialite-openshift)[ RSS](/packages/andrewklau-socialite-openshift/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

OpenShift OAuth2 Provider for Laravel Socialite
===============================================

[](#openshift-oauth2-provider-for-laravel-socialite)

Documentation
-------------

[](#documentation)

This package makes use of the `SocialiteProviders` package located [here](http://socialiteproviders.github.io/).

### Install the package

[](#install-the-package)

```
composer require andrewklau/socialite-openshift
```

### Install the Service Provider

[](#install-the-service-provider)

- Remove `Laravel\Socialite\SocialiteServiceProvider` from your providers\[\] array in config\\app.php if you have added it already.
- Add `\SocialiteProviders\Manager\ServiceProvider::class` to your providers\[\] array in config\\app.php.

### Install the event listener

[](#install-the-event-listener)

- Add `SocialiteProviders\Manager\SocialiteWasCalled` event to your listen\[\] array in `/Providers/EventServiceProvider`.
- The listener that you add for this provider is `'Andrewklau\Socialite\OpenShift\OpenShiftkExtendSocialite@handle',`.

For example:

```
/**
 * The event handler mappings for the application.
 *
 * @var array
 */
protected $listen = [
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        // add your listeners (aka providers) here
        'Andrewklau\Socialite\OpenShift\OpenShiftExtendSocialite@handle',
    ],
];
```

### Environment variables

[](#environment-variables)

If you add environment values to your `.env` as exactly shown below, you do not need to add an entry to the services array.

#### Append to .env

[](#append-to-env)

```
// other values above
OPENSHIFT_URL=https://api.xyz.com
OPENSHIFT_CA=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt
OPENSHIFT_OAUTH_CLIENT_ID=yourkeyfortheservice
OPENSHIFT_OAUTH_CLIENT_SECRET=yoursecretfortheservice

```

#### Append to config/services.php

[](#append-to-configservicesphp)

You do not need to add this if you add the values to the `.env` exactly as shown above. The values below are provided as a convenience in the case that a developer is not able to use the .env method

```
'openshift' => [
    'client_id'     => env('OPENSHIFT_OAUTH_CLIENT_ID'),
    'client_secret' => env('OPENSHIFT_OAUTH_CLIENT_SECRET'),
    'url'           => env('OPENSHIFT_URL'),
    'ca'            => env('OPENSHIFT_CA'),
    'redirect'      => env('APP_URL').'/login/callback',
],
```

### Create OpenShift oAuth Client

[](#create-openshift-oauth-client)

```
oc create -f scopes()->redirect();
```

License
-------

[](#license)

MIT

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Every ~48 days

Total

4

Last Release

3373d ago

Major Versions

v1.0.0 → v2.0.02017-03-07

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2239920?v=4)[Andrew Lau](/maintainers/andrewklau)[@andrewklau](https://github.com/andrewklau)

---

Top Contributors

[![andrewklau](https://avatars.githubusercontent.com/u/2239920?v=4)](https://github.com/andrewklau "andrewklau (5 commits)")

### Embed Badge

![Health badge](/badges/andrewklau-socialite-openshift/health.svg)

```
[![Health](https://phpackages.com/badges/andrewklau-socialite-openshift/health.svg)](https://phpackages.com/packages/andrewklau-socialite-openshift)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[overtrue/socialite

A collection of OAuth 2 packages.

1.4k5.6M90](/packages/overtrue-socialite)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k34](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

121242.9k1](/packages/ellaisys-aws-cognito)

PHPackages © 2026

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