Giter Club home page Giter Club logo

Comments (8)

Spomky avatar Spomky commented on May 26, 2024

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.

chalasr avatar chalasr commented on May 26, 2024

Unable to reproduce either.

from lexik-jose-bridge.

peshi avatar peshi commented on May 26, 2024

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.

peshi avatar peshi commented on May 26, 2024

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.

chalasr avatar chalasr commented on May 26, 2024

I'm looking into, thanks for investigating @peshi.

from lexik-jose-bridge.

chalasr avatar chalasr commented on May 26, 2024

Fixed in lexik/LexikJWTAuthenticationBundle@81f7315
@peshi would you mind to retry with your original dependency set?

from lexik-jose-bridge.

peshi avatar peshi commented on May 26, 2024

@chalasr Tested. It works as expected - thanks for the quick fix and response time! πŸ‘

from lexik-jose-bridge.

Spomky avatar Spomky commented on May 26, 2024

Thanks @chalasr for the quick reply and responsiveness ☺️

from lexik-jose-bridge.

Related Issues (20)

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.