Comments (2)
Hi,
To be honest, I had a discussion with Nicolas Grekas end of 2022 and actually there is no need for custom Fex endpoint for libraries. It only makes sense for biggest project with dilated rules and project requirements.
You can safely remove the rules from your composer.json
, the existing rule in the contribute repository is sufficient (if it is not, just ask and I will update it).
from lexik-jose-bridge.
It appears there is no need to update your contrib recipe. Symfony auto-generates recipe for web-token/jwt-bundle
as well.
This is the diff without the custom endpoint vs with it:
diff --git a/.env b/.env
index 7c0ef70..76bb759 100644
--- a/.env
+++ b/.env
@@ -22,7 +22,7 @@ APP_SECRET=145bfed3ebfb47b7715715040c5745cb
###> lexik/jwt-authentication-bundle ###
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
-JWT_PASSPHRASE=3d2dfea4221974a1ec339cc22af1dd1c
+JWT_PASSPHRASE=d5a11ca0514bb159968dc573da2ccc5c
###< lexik/jwt-authentication-bundle ###
###> spomky-labs/lexik-jose-bridge ###
diff --git a/composer.json b/composer.json
index 41c94bd..60b019b 100644
--- a/composer.json
+++ b/composer.json
@@ -61,6 +61,10 @@
"extra": {
"symfony": {
"allow-contrib": false,
+ "endpoint": [
+ "flex://defaults",
+ "https://api.github.com/repos/Spomky-Labs/recipes/contents/index.json?ref=main"
+ ],
"require": "5.4.*"
}
}
diff --git a/composer.lock b/composer.lock
index a75c25f..249ed7c 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "95449eba4563344ccea0718f580e889f",
+ "content-hash": "a5d7b134e67c8748b6738933fa0e5dcd",
"packages": [
{
"name": "brick/math",
diff --git a/symfony.lock b/symfony.lock
index 50e4dcd..876dfff 100644
--- a/symfony.lock
+++ b/symfony.lock
@@ -92,6 +92,12 @@
]
},
"web-token/jwt-bundle": {
- "version": "3.1.6"
+ "version": "3.1",
+ "recipe": {
+ "repo": "github.com/Spomky-Labs/recipes",
+ "branch": "tree",
+ "version": "3.0",
+ "ref": "e9872ca728053c5a09ef09ec4712d430f30895d6"
+ }
}
}
Thank you very much for your bundle!
from lexik-jose-bridge.
Related Issues (20)
- 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
- 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
- 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.