Giter VIP home page Giter VIP logo

grav-plugin-login-oauth2-extras's People

Contributors

andreasgrill avatar guilhermeeric avatar o1oo11oo avatar rhukster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

grav-plugin-login-oauth2-extras's Issues

E_COMPILE_ERROR - Declaration of Grav\Plugin\Login\OAuth2\Providers\GitlabProvider::initProvider(array $options) must be compatible with Grav\Plugin\Login\OAuth2\Providers\BaseProvider::initProvider(array $options): void

Hi,

I had an issue with GitlabProvider :

E_COMPILE_ERROR - Declaration of Grav\Plugin\Login\OAuth2\Providers\GitlabProvider::initProvider(array $options) must be compatible with Grav\Plugin\Login\OAuth2\Providers\BaseProvider::initProvider(array $options): void

I fixed the problem by adding void in the function signature :

class GitlabProvider extends ExtraProvider
{
    protected $name = 'Gitlab';
    protected $classname = 'Omines\\OAuth2\\Client\\Provider\\Gitlab';

    public function initProvider(array $options) : void

I don't know if it depends on the version of PHP used. For information i am using PHP Version 8.0.6

No Discord Documentation

Discord SSO Documentation doesn't exist?

https://extrasapp.com/developers/docs/topics/oauth2 is not an active domain also?

Redir after login

Configured the plugin without any issues for the admin. When using OAuth for the admin access, I'm redirected to /1 page (which obviously doesn't exist). When I enter /admin everything I'm logged in.

The same result e.g. with facebook, it is redirecting to /1#=

is there anything more needs to be configured?

Azure AD tokens not getting refreshed after expiring

While using the plugin, I've noticed that once the tokens that this plugin fetches from the AzureAD OAuth endpoint and stores in the users .yaml expire, they will not get refreshed(this is especially annoying when sending the tokens back to the client in the form of cookies, so the client can fetch external APIs)

This results in the end-user needing to log out and log back in in order to manually refresh the tokens.
Is this the intended behavior?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.