Skip to content

rossaddison/yii-auth-client

 
 

Repository files navigation

Yii Oauth

Yii External Authentication


Mutation testing badge Build status Mutation testing badge static analysis Psalm Level type-coverage Latest Stable Version Latest Unstable Version Total Downloads Monthly Downloads Daily Downloads License PHP Version Require

This extension adds OAuth2 consumers for the Yii framework.

Requirements

  • PHP 8.3 or higher.

Installation

The package could be installed with Composer:

composer require rossaddison/yii-auth-client

Documentation

26th November 2024 Purpose for this fork: Introduce external authentication into rossaddison/invoice

  • Due to the archiving of nov/jose-php, openId Connect, and OAuth1 have been removed from this fork to allow the use and testing of other clients such as: Facebook, Google, Github, LinkedIn, Live, TwitterOAuth2, VKontakt, and Yandex.
  • This fork is being tested currently and is psalm level 1 statically built and tested only.
  • 3 issue handlers are currently in the psalm.xml and can be removed independently to see relevant errors by running e.g c:\wamp64\www\yii-auth-client\php ./vendor/bin/psalm
  • A suitable php substitute will hopefully be introduced later for nov/jose-php. yiisoft/auth-jwt is the obvious choice.
  • Due to the archiving of yiisoft/yii-jquery, a cdn for jquery has been introduced into src/Asset/AuthChoiceAsset.php
  • Guide: English, Русский
  • Internals

If you need help or have a question, the Yii Forum is a good place for that. You may also check out other Yii Community Resources.

License

The Yii External Authentication is free software. It is released under the terms of the BSD License. Please see LICENSE for more information.

Maintained by Yii Software.

Support the project

Open Collective

Follow updates

Official website Twitter Telegram Facebook Slack

About

Yii Framework external authentication via OAuth and OpenID Extension

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 96.2%
  • Batchfile 1.7%
  • JavaScript 1.5%
  • CSS 0.6%