Comments (7)
Sorry, can you define "embedded user-agent"? Which grant auth is that in the spec (or which extension spec is it) ?
from oauth2-server.
Sorry for confusing you, what I mean is getting the token without the need for redirect_uri like in this case: http://tools.ietf.org/html/rfc6749#section-4.3 where only the grant_type , username, and password are required
I know the library supports that but I doubt if redirect_uri is optional.
from oauth2-server.
Ah sorry you mean the password grant. Yep it does support it and if you can hold off a day or so I'll have some significantly better documentation up to show how to implement it
from oauth2-server.
Yes the password grant. I just test if it supports the password grant, unfortunately it requires redirect_uri which in fact in such grant there are only 4 parameters namely: grant_type, username, password, and an optional scopes.
Basically what I'm trying to achieve is I have an app (trusted of course) with username and password input fields and when user clicks the button, the app will send a post request (curl or whatever) with ONLY username and password (aside from scopes which by default all scopes are granted) of the client to get the token.
from oauth2-server.
The password grant is in the develop branch https://github.com/lncd/OAuth2/blob/develop/src/Oauth2/Authentication/Server.php. However in the feature/reorg branch we've we designed the API from the ground up (hence my comment about waiting a day or so for updated docs)
from oauth2-server.
Much appreciated, thanks.
from oauth2-server.
This appears to be in the master branch and latest tagged versions, so this issue should be closed.
from oauth2-server.
Related Issues (20)
- Documentation: AuthCode grant redirect_uri must match authorization request
- RefreshTokenGrant requires client_secret also for non-confidential clients HOT 3
- how to validate client when exchanging auth code for access token HOT 1
- Class "League\Uri\UriString" not found HOT 8
- Reuse or revoke existing or access and refresh tokens on new auth HOT 10
- Google warning - Deceptive site ahead HOT 8
- Implict grant for OIDC not supported HOT 1
- Why setUserIdentifier, not setUser? HOT 9
- Test Refresh Token Fails on Google Home Test Suite HOT 2
- Possibility of using different encryptor for shortening auth code HOT 2
- Does anyone know if this library is vulnerable to this hack? HOT 1
- Support league/event v3 HOT 4
- League/Oauth2-Server Key Exposure In Exception Message HOT 2
- AccessTokenTrait::__toString gives different result each call HOT 1
- Wrong Type in DocBlock 3rd param `AbstractGrant::issueAccessToken` HOT 1
- AuthCodeGrant applies wrong validation rules on code_challenge HOT 4
- 2FA HOT 1
- Support for PHP 8.3 HOT 1
- Testing v9-rc1 on Laravel Passport HOT 13
- Authentication scheme should be matched case-insensitively HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oauth2-server.