Skip to content

[REQ][Slim4] Add OAuth2 server library #3549

Open
@ybelenko

Description

@ybelenko

Is your feature request related to a problem? Please describe.

After spending too much time with own custom OAuth2 server implementations I've tried to find something recommended by framework authors. Here is list of server libraries(source Server Libraries):

Describe the solution you'd like

I'm going to add auth library from list above to PHP Slim server generator. I'm not sure which one yet, so feel free to suggest. I've already checked PHP OAuth2 Server and not satisfied, repo looks pretty outdated, there are many open issues and PRs. The most weird think is that author stores sha1 encrypted passwords in database by default instead of use of password_hash PHP builtin function.

Ref to described function:
https://github.com/bshaffer/oauth2-server-php/blob/5a0c8000d4763b276919e2106f54eddda6bc50fa/src/OAuth2/Storage/Pdo.php#L437-L441

Additional context

If you have any experience with library from list above, please describe it. Keep in mind that PHP Slim Framework is very tiny and doesn't have hundreds of builtin helpers/utilities like Symfony has.

cc @jebentier @dkarlovi @mandrean @jfastnacht @ackintosh @renepardon

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions