2017 © Pedro Peláez
 

library socialite-okta

Socialite OKTA provider

image

tequilarapido/socialite-okta

Socialite OKTA provider

  • Wednesday, November 22, 2017
  • by nbourguig
  • Repository
  • 4 Watchers
  • 4 Stars
  • 1,199 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

Laravel Socialite [Okta] (https://www.okta.com) provider, (*1)

Latest Version on Packagist Software License StyleCI Quality Score, (*2)

, (*3)

! Deprecated !

Use this one instead. https://socialiteproviders.netlify.com/providers/okta.html, (*4)

Contents

Installation

You can install the package using composer, (*5)

``` bash $ composer require tequilarapido/socialite-okta, (*6)


## Usage * Add service provider to `config/app.php` ``` php Tequilarapido\Okta\OktaServiceProvider::class,
  • If you already use Socialite in your app, remove the socialite service provider from config/app.php, (*7)

  • Add Socialite alias ``` php 'Socialite' => Laravel\Socialite\Facades\Socialite::class,, (*8)


* Add this entries to `config/services.php` ``` php 'okta' => [ 'url' => env('OKTA_URL'), 'client_id' => env('OKTA_CLIENT_ID'), 'client_secret' => env('OKTA_CLIENT_SECRET'), 'redirect' => env('OKTA_REDIRECT'), ],
  • Add config variables to your .env file
# Okta
OKTA_URL=https://xxx.okta.com or https://xxx.oktapreview.com  
OKTA_REDIRECT=http://your-app-url/{callback-route-uri}
OKTA_CLIENT_ID=XXX
OKTA_CLIENT_SECRET=XXX
  • Use like any other Socialite driver

[Laravel Socialite Documentation] (https://laravel.com/docs/5.0/authentication#social-authentication), (*9)

``` php, (*10)

// To get the auhtorization redirect
return Socialite::with('okta')->redirect();


// To get the okta user
$oktaUser = Socialite::driver('okta')->user();

```, (*11)

Security

If you discover any security related issues, please email nbourguig@gmail.com instead of using the issue tracker., (*12)

Credits

License

The MIT License (MIT). Please see License File for more information., (*13)

The Versions

22/11 2017

dev-master

9999999-dev https://github.com/tequilarapido/socialite-okta

Socialite OKTA provider

  Sources   Download

MIT

The Requires

 

The Development Requires

09/12 2016

0.0.2

0.0.2.0 https://github.com/tequilarapido/socialite-okta

Socialite OKTA provider

  Sources   Download

MIT

The Requires

 

The Development Requires

09/12 2016

0.0.1

0.0.1.0 https://github.com/tequilarapido/socialite-okta

Socialite OKTA provider

  Sources   Download

MIT

The Requires

 

The Development Requires