Skip to content

xdrew/oauth2-odnoklassniki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Odnoklassniki OAuth2 client provider

This package provides Odnoklassniki integration for OAuth2 Client by the League.

Installation

composer require xdrew/oauth2-odnoklassniki

Configuration

$provider = new xdrew\OAuth2\Client\Provider\Odnoklassniki([
    'clientId'     => '1234567',
    'clientPublic' => 'CBAPKGGLEBACACACA',
    'clientSecret' => 's0meRe4lLySEcRetC0De',
    'redirectUri'  => 'https://example.org/oauth-endpoint',
    'scopes'       => ['GET_EMAIL'], // OPTIONAL You should request access to this scope from ok.ru support to get user email
    'userFields'   => [''], // OPTIONAL 
]);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages