yii2-oauth2-server | This extension provides simple implementation of Oauth | Web Framework library

 by   borodulin PHP Version: 1.7.1 License: MIT

kandi X-RAY | yii2-oauth2-server Summary

kandi X-RAY | yii2-oauth2-server Summary

yii2-oauth2-server is a PHP library typically used in Server, Web Framework applications. yii2-oauth2-server has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Yii2 OAuth 2.0 Server.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              yii2-oauth2-server has a low active ecosystem.
              It has 72 star(s) with 39 fork(s). There are 13 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 5 open issues and 24 have been closed. On average issues are closed in 12 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of yii2-oauth2-server is 1.7.1

            kandi-Quality Quality

              yii2-oauth2-server has 0 bugs and 0 code smells.

            kandi-Security Security

              yii2-oauth2-server has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              yii2-oauth2-server code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              yii2-oauth2-server is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              yii2-oauth2-server releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.
              yii2-oauth2-server saves you 508 person hours of effort in developing the same functionality from scratch.
              It has 1194 lines of code, 92 functions and 27 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed yii2-oauth2-server and discovered the below as its top functions. This is intended to give you an instant insight into yii2-oauth2-server implemented functionality, and help decide if they suit your requirements.
            • Creates safe database tables .
            • Extract the access token from the request headers .
            • Get response data .
            • Authenticates the user with the given access token .
            • Sets the response type .
            • Returns the logged in user .
            • Handles the request .
            • Creates an access token .
            • Create new authorization code
            • Get the authorization code
            Get all kandi verified functions for this library.

            yii2-oauth2-server Key Features

            No Key Features are available at this moment for yii2-oauth2-server.

            yii2-oauth2-server Examples and Code Snippets

            No Code Snippets are available at this moment for yii2-oauth2-server.

            Community Discussions

            QUESTION

            how to replace subject(sub) to a secret string in id_token at the openid connect?
            Asked 2018-Jan-02 at 11:04

            oauth2 library:

            https://github.com/Filsh/yii2-oauth2-server

            https://github.com/bshaffer/oauth2-server-php

            please notice that, user id in my system is a integer not a string.

            my purpose just hide system user id.

            the steps for id token :

            http://bshaffer.github.io/oauth2-server-php-docs/overview/openid-connect/

            { "iss": "localhost", "sub": 2, "aud": "-7IloKCawcvBwRijJeo7nsLxx1chC68L", "iat": 1514518157, "exp": 1514521757, "auth_time": 1514518157, "nonce": "dfsdsdsd" }

            md5('-7IloKCawcvBwRijJeo7nsLxx1chC68L' + 2) = 3C86CBBFF35AD3B6E609F5622D776531

            i wanna replace subject to md5(client_id + subject)

            { "iss": "localhost", "sub": "3C86CBBFF35AD3B6E609F5622D776531", "aud": "-7IloKCawcvBwRijJeo7nsLxx1chC68L", "iat": 1514516044, "exp": 1514519644, "auth_time": 1514516044, "nonce": "dfsdsdsd" }

            ...

            ANSWER

            Answered 2018-Jan-02 at 11:04

            IF I understand your desire, the OpenID Provider can provide anything for the Subject as long as it is Unique at that OpenID Provider for a specific relying party.

            OpenID Connect Identity Token Sub is a Subject Identifier is a locally unique and never re-assigned identifier within the Issuer for the Authenticated Entity, which is intended to be consumed by the OAuth Client.

            Two Subject Identifier types (subject_types_supported) are defined by OpenID Connect and are Required to be present in the OpenID Provider Metadata:

            public - provides the same sub (subject) value to all OAuth Client. It is the default if the provider has no subject_types_supported element in its discovery document.

            pairwise - provides a different Sub value to each OAuth Client, so as not to enable OAuth Client to correlate the End-User's activities without permission.

            The OpenID Connect Provider's OpenID Connect Discovery document SHOULD list its supported Subject Identifier types in the subject_types_supported element.

            If there is more than one type listed in the array, the OAuth Client MAY elect to provide its preferred identifier type using the subject_type parameter during Registration.

            Sub MUST NOT exceed 255 ASCII characters in length.

            Sub Sub value is a Case-sensitive string.

            Source https://stackoverflow.com/questions/48017114

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install yii2-oauth2-server

            You can download it from GitHub.
            PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/borodulin/yii2-oauth2-server.git

          • CLI

            gh repo clone borodulin/yii2-oauth2-server

          • sshUrl

            git@github.com:borodulin/yii2-oauth2-server.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link