Git Product home page Git Product logo

codeigniter-oauth2-server's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codeigniter-oauth2-server's Issues

having trouble dealing with scopes

i'd like to define my own scopes and automatically assign them to tokens based on their grant type so that
a ) my users wont have to send a scope string while requesting for a token
b ) when i make changes to scopes, they are automatically added and deprecated from respective grant types.
I want to automatically add and remove scopes based on grant types only.

Automatic Deletion of authorization code

Hi,

Why is it when i use Authorization Code Grant Type in one process only the generated authorization code in the oauth_authorization_codes table automatically deleted?

routes to get the token

Hello,

I have read the entire readme file and all the reference links but didn't get that how to use this library. What is the route to get the token? I just want to use Password Credentials grant type.

Thanks

Multiple database connection

Hi,

It is possible to have multiple database connection in oauth2 codeigniter? I want to separate my authentication database from my protected resources.

Severity: Warning label:bug

A PHP Error was encountered
Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: OAuth2/Server.php

Line Number: 478

Backtrace:

File: /mnt/d/htdocs/JWT/codeigniter-oauth2-server/application/third_party/Oauth2/src/OAuth2/Server.php
Line: 478
Function: count

File: /mnt/d/htdocs/JWT/codeigniter-oauth2-server/application/third_party/Oauth2/src/OAuth2/Server.php
Line: 148
Function: createDefaultAuthorizeController

File: /mnt/d/htdocs/JWT/codeigniter-oauth2-server/application/third_party/Oauth2/src/OAuth2/Server.php
Line: 348
Function: getAuthorizeController

File: /mnt/d/htdocs/JWT/codeigniter-oauth2-server/application/libraries/Server.php
Line: 70
Function: validateAuthorizeRequest

File: /mnt/d/htdocs/JWT/codeigniter-oauth2-server/application/controllers/oauth2/Authorize.php
Line: 27
Function: check_client_id

File: /mnt/d/htdocs/JWT/codeigniter-oauth2-server/index.php
Line: 292
Function: require_once

Avoiding client id and client secret in password grant type

Currently password credentials grant type required client id and client secret. can we skip this in password grant type flow as it is not required in our case?

curl -u testclient:testpass "http://oauth-server.example.com/oauth2/PasswordCredentials" -d 'grant_type=password&username=someuser&password=somepassword'
{"access_token":"206c80413b9a96c1312cc346b7d2517b84463edd","expires_in":3600,"token_type":"bearer","scope":null}

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.