Comments (1)
It does depend on the type of applications you are trying to deploy. Were you able to look at this flow chart to help decide? https://github.com/jasonraimondi/ts-oauth2-server#which-grant
Client credentials grant is not on behalf of a user, therefore it does not have a user context. If the access token is on behalf of a user, ie the endpoint you are trying to authorize into needs to know what user it is, you will need to use the password grant instead. Both the password grant and the client credentials grant should only be used by clients that can hold a secret.
Hope that helps,
from ts-oauth2-server.
Related Issues (20)
- Support for any port when redirectUri is a loopback URI HOT 2
- Support RFC 8693 - Token Exchange HOT 6
- Authorization code grant: wrong code in redirect URL HOT 4
- Support RFC7009 “OAuth 2.0 Token Revocation” HOT 1
- feat: allowed custom grant usage
- Feat Request: Allow Custom Parameters in Authorization Flow (e.g., Audience Parameter) HOT 10
- Support OAuth 2.0 Token Introspection (RFC7662)
- how do i implement consent flow? HOT 1
- Typescript compile error
- Allow `userRepository.extraAccessTokenFields()` to set the `iss` (issuer) claim HOT 1
- Enhancement: support RFC 7009 for token revocation HOT 5
- Review nullability of fields in OAuthToken HOT 2
- Inconsistency: use of `isRevoked()` in the `refresh_token` grant is different from its use in the `auth_code` grant, and is unintuitive HOT 1
- Tests / coverage / maintainability badges look unhealthy HOT 1
- Trouble installing packages for example projects HOT 2
- Error running Prisma/Express example - Client authentication failed: Invalid redirect_uri HOT 2
- aud HOT 3
- how to support multi-tenant? does anyone have a example? HOT 1
- OAuthException throw not supporting in latest version, gettting app crash when throw error from UserRepository HOT 6
- refresh_token grant: Token is not linked to client when tokenCID set to 'name'. 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 ts-oauth2-server.