Comments (6)
Hi,
First of all, he purpose if this framework and the LexikJWTAuthenticationBundle are not the same.
The LexikJWTAuthenticationBundle is a bundle that provides a firewall to protect an API. The authentication of the users is based on JWT.
This one will help you to manage your keys, key sets or load/issue signed or encrypted tokens. It is supposed to be used by other bundles/applications such as LexikJWTAuthenticationBundle (e.g. spomky-labs/lexik-jose-bridge).
There is no concept of user/firewall/authentication... It can be used to create a secured instant messaging as well as an identity provider (OpenId Connect) or whatever you want that requires confidentiality or non-repudiation of the data.
Regarding the bundle, the documentation may be not clear about that, but the capabilities will depend on the components installed in your application
.
If your application needs
- to check claims or headers, you will need the
web-token/jwt-checker
component - to sign/verify tokens, you will need the
web-token/jwt-signature
component - to encrypt/decrypt tokens, you will need the
web-token/jwt-encryption
component - to manage keys/key sets, you will need the
web-token/jwt-key-mgmt
component - to use console commands, you will need the
web-token/jwt-console
component
In any case, you are right to say that a should wrote a list of the services made available by the bundle or the whole configuration reference. I will do it within the next weeks.
from jwt-framework.
Thank you for the reply and clarifications. Now I have a much better understanding on the purpose of this library.
from jwt-framework.
Closing as answered.
The documentation is improved step by step.
Feel free to re-open if needed.
from jwt-framework.
I have ran into issues when attempting to use this library as well. I am looking to use the JWE bundle i have installed it like shown in documentation composer require web-token/jwt-encryption
.. When i try to create a token i get an error: Fatal error: Uncaught Error: Call to private Jose\Component\Core\AlgorithmManager::__construct() from invalid context in /Volumes/Source/authserver/asp.php:14 Stack trace: #0 {main}
any idea as to why i am running into this error? I know this issue is closed but did not want to open a new one for same issue
from jwt-framework.
Hi @juanm18,
Please see web-token/jwt-doc#11
The doc is now in line with the v1.0
from jwt-framework.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from jwt-framework.
Related Issues (20)
- Undocumented breaking change in v3 regarding base64url padding strictness HOT 3
- jwt-signature-algorithm-eddsa not working HOT 2
- Invalid PHPDoc Syntax HOT 2
- Support Symfony 7 HOT 4
- It isnt possible to sign binary data? HOT 3
- JWT signed with EdDSA fails to be validated with nodejs/jose HOT 5
- Support for symfony 7 HOT 3
- alg dir serialized without payload HOT 10
- Deprecation: Symfony 6.4 HOT 4
- Disable data collectors in dev? HOT 1
- InvalidArgumentException: decodeNoPadding() doesn't tolerate padding HOT 2
- web-token/jwt-experimental not on packagist HOT 4
- Rsa signing works too slow HOT 5
- Potential license issue with paragonie/sodium_compat HOT 4
- Move `symfony/console` to the bundle HOT 1
- Do not deprecate the support for PSR-18 HTTP clients HOT 1
- [RFC] Option to rely on PSR Cache instead of HTTP Cache HOT 3
- Unclear dependencies HOT 1
- Unsupported key type using rsa-pss HOT 5
- It isn't possible to encrypt binary data !? HOT 2
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 jwt-framework.