noilty/oauth2-shikimori

This package is abandoned and no longer maintained. No replacement package was suggested.

Shikimori OAuth 2.0 Client Provider for The PHP Noilty OAuth2-Client

dev-main 2023-06-11 20:34 UTC

This package is auto-updated.

Last update: 2024-06-12 15:27:10 UTC


README

This package provides Google OAuth 2.0 support for the PHP League's OAuth 2.0 Client.

To use this package, it will be necessary to have a Google client ID and client secret. These are referred to as OAUTH_SHIKIMORI_ID and OAUTH_SHIKIMORI_SECRET in the documentation.

Please follow the Shikimori instructions to create the required credentials.

Installation

To install, use composer:

composer require noilty/oauth2-shikimori

Usage

to file knpu_oauth2_client.yaml need to add client:

shikimori_main:
  type: generic
  provider_class: Noilty\OAuth2\Client\Provider\Shikimori
  client_id: '%env(OAUTH_SHIKIMORI_ID)%'
  client_secret: '%env(OAUTH_SHIKIMORI_SECRET)%'
  redirect_route: oauth.shikimori_check
  redirect_params: {}
  use_state: true

TODO