Comments (8)
Hi,
Thank you for reporting me this issue.
I cannot reproduce it. With the command bin/console debug:container|grep encoder
, I have the following result:
lexik_jose_bridge.encoder.jwt_creator alias for "jose.jwt_creator.lexik_jose"
lexik_jose_bridge.encoder.jwt_loader Jose\JWTLoader
lexik_jwt_authentication.encoder SpomkyLabs\LexikJoseBundle\Encoder\LexikJoseEncoder
lexik_jwt_authentication.encoder.default Lexik\Bundle\JWTAuthenticationBundle\Encoder\DefaultEncoder
lexik_jwt_authentication.encoder.lcobucci Lexik\Bundle\JWTAuthenticationBundle\Encoder\DefaultEncoder
security.encoder_factory Symfony\Component\Security\Core\Encoder\EncoderFactory
security.password_encoder Symfony\Component\Security\Core\Encoder\UserPasswordEncoder
Please note that the service lexik_jose_bridge.encoder
is not public.
from lexik-jose-bridge.
Unable to reproduce either.
from lexik-jose-bridge.
I get the same results with a fresh install of Symfony - I'll investigate further why my current project isn't able to receive the encoder properly. - I'll close this for now.
from lexik-jose-bridge.
Ok, I actually used LexikJWTAuthenticationBundle - dev-master.
It doesn't seem too friendly with the new autowiring commit.
You have requested a non-existent service "lexik_jose_bridge.encoder".
in ContainerBuilder.php line 803
at ContainerBuilder->getDefinition('lexik_jose_bridge.encoder') in ContainerBuilder.php line 828
at ContainerBuilder->findDefinition('lexik_jwt_authentication.encoder') in LexikJWTAuthenticationExtension.php line 63
at LexikJWTAuthenticationExtension::registerAutowiringTypes(object(ContainerBuilder)) in LexikJWTAuthenticationExtension.php line 56
Reverting to 2.3.0 works.
So I guess this could be interesting for both of you :)
Edit:
Just tried Symfony 3.3-dev with lexikjwtauth dev-master and lexik-jose-bridge without issues.
from lexik-jose-bridge.
I'm looking into, thanks for investigating @peshi.
from lexik-jose-bridge.
Fixed in lexik/LexikJWTAuthenticationBundle@81f7315
@peshi would you mind to retry with your original dependency set?
from lexik-jose-bridge.
@chalasr Tested. It works as expected - thanks for the quick fix and response time! π
from lexik-jose-bridge.
Thanks @chalasr for the quick reply and responsiveness
from lexik-jose-bridge.
Related Issues (20)
- Provide Recipe HOT 1
- Cannot use key ID as key_index when using LexikJoseEncoder HOT 3
- Allow loading keysets from files HOT 2
- issuer same as audience HOT 3
- Flex recipe - generated key_index HOT 2
- Bundle upgrade HOT 1
- JWT Token is always invalid HOT 4
- Missing dependency for Assert in 3.0.0 HOT 7
- Invalid definition for service Jose\Bundle\JoseFramework\DataCollector\CheckerCollector: argument 2 of Jose\Bundle\JoseFramework\DataCollect or\CheckerCollector::addHeaderCheckerManager() HOT 2
- Missing dependency for jose.key_set.lexik_jose_bridge.signature HOT 5
- Do not override lexik_jwt_authentication.encoder.service automatically HOT 1
- Add support of multi-environment configuration. HOT 3
- Question: Symfony 6 support HOT 2
- TTL Token must be int but string given HOT 5
- Is it possible to call a service for key_set? HOT 2
- Symfony flex endpoint order HOT 2
- Latency on PHP Docker image + JWT Symfony validation issue HOT 4
- Multi-value for audience param HOT 2
- mutli-value audience parameter ?
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 lexik-jose-bridge.