Comments (7)
Thanks for this issue.
A patch will be submitted soon on both v3.0 and v2.2 branches
from lexik-jose-bridge.
I've created a PR #51 to fix this issue. Basically I removed 2 lines of code with Assertion
class since, I believe, it was introduced accidentally
from lexik-jose-bridge.
Looks like this bug can be closed, right?
from lexik-jose-bridge.
Hi @Spomky !
It seems that the tagged version v3.0.0 is still with the issue.
I think you need to upgrade the version to a newer tag to have @tereschenkov 's fix.
from lexik-jose-bridge.
Hi @Djamy,
Thank you for your patience. I’ve just push a fix for that issue.
This should work fine now. Waiting for CI to finish.
from lexik-jose-bridge.
Thank you @Spomky it seems to work so far!
I'm just curious here, could you tell me why you choose to import native PHP function here?
Is there a specific reason or something?
from lexik-jose-bridge.
Thank you @Spomky it seems to work so far!
Great. I close the issue now. Feel free to open it if something went wrong with the last modifications.
I'm just curious here, could you tell me why you choose to import native PHP function here?
Is there a specific reason or something?
\is_string
is a micro-optimization. Php-CS-Fixer is able to import all there function and from my POV it looks easier to read.
In addition, when contributors modify the files, they don't have to brother with this optimization.
from lexik-jose-bridge.
Related Issues (20)
- When keys are changed by new ones, valid tokens are rejected
- Use RotatableJWKSet and add a console command for key rotation HOT 1
- no encoder HOT 8
- 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
- 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
- Add tests to verify LexikJWTAuthenticationBundle Data customization and validation are not broken
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.