Authentication client

This extension adds OpenID, OAuth, and OAuth2 consumers for the Yii 2.0 framework.

Getting ready

  1. Create a new application by using composer, as described in the official guide at http://www.yiiframework.com/doc-2.0/guide-start-installation.html.
  2. Install the extension with the following command:
    composer require yiisoft/yii2-authclient
    

How to do it…

  1. Open your GitHub applications page https://github.com/settings/applications and add your own new application:
    How to do it…
  2. Get the Client ID and Client Secret:
    How to do it…
  3. Configure your web configuration and set ...

Get Yii2 Application Development Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.