Comments (2)
@duanegran Seems possible by adding this to config.yml:
parameters:
oauth2.server.config:
use_jwt_access_tokens: true
issuer: https://www.acme.com
oauth2.storage.public_key.class: Acme\AuthBundle\Storage\PublicKey
This bundle lacks command and storage for storing public/private key, so you need to create them by yourself.
Authorization code storage is not used with this config. Probably because generated JWT token contains all information you need. (You can extract information from JWT by decoding with the public key)
from oauth2-server-bundle.
You also need to change the implementation of token storage if you use JWT. Without that, the server tries to store generated token to the DB and causes problems, because JWT is not a random string and violates unique constraints of token column.
from oauth2-server-bundle.
Related Issues (20)
- function checkScope receives array of string as the second parameter but it expects a string HOT 1
- TokenController.php and RouteController.php have the same route annotation HOT 1
- Provide easy means to change entity managers HOT 1
- Client isPublic must be null for user credential HOT 2
- http_basic included in README
- OpenID Connect support HOT 21
- Scope is not required in Client Credentials grant type
- Symfony 3 support HOT 4
- Introduce mapped-superclass HOT 1
- "The grant type was not specified in the request" HOT 3
- user_id is not passed in ClientCredentials HOT 1
- Undefined method errors after PR #42 HOT 3
- NOTICE: Deleted Master Branch
- User credentials issue HOT 1
- Does this bundle supports Symfony 3?
- Annotation mismatch oauth2-server-bundle/Entity/Client.php
- Make all OAuth2-services public HOT 1
- [ Question ] How can I change the Client entity and use my own existing client entity to use it with oauth?
- There are no commands defined in the "OAuth2" namespace. 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-bundle.