Comments (1)
Hi Daniel,
finally I had the time to look into your issue...
to me it appears that the checkbox "secret base64 encoded" on the JWT debugger means only that you have to pass the secret encoded in base64.
So given the key 'secret' you have to pass the value 'c2VjcmV0' ('secret' base64 encoded)
The token itself is not changed and has always been encoded and verified with the key 'secret'.
In the Delphi JOSE library you could find the Base64 coder algorithm in the unit JOSE.Encoding.Base64:
TBase64.Encode('secret') =>> 'c2VjcmV0'
I think that the library itself must not be modified, only the demo, perhaps, could be modified by inserting a checkbox that only decode the secret passed.
I hope I understood your issue..
Ciao,
Paolo.
from delphi-jose-jwt.
Related Issues (20)
- Hint: H2077 Value assigned to 'TSigningBase.LoadPublicKeyFromCert' never used HOT 1
- JOSE.OpenSSL.Headers is not compatible with platforms like iOSDevice or Android. HOT 5
- TJWK class claims to implement RFC7517 (partially) but it really doesn't implement it at all HOT 2
- function TRSAAlgorithmHelper.ToString: string; potentially unset return value
- Shortcut to TJOSE class functions inside TJWT HOT 1
- Delphi-Jose-JWT on XE7 HOT 1
- Publish this onto the GetIt Package Manager please ππ» HOT 4
- Make TJWS.CheckCompactToken more strict HOT 1
- When will JWE be available? HOT 11
- Azure AD JWT token authorization HOT 6
- iOS can not compile JOSE.OpenSSL.Headers HOT 1
- unreliable Check fΓΌr Booleans in JSON HOT 3
- Jose.Inc
- json.pas file is missing HOT 3
- Delphi xe5 not working with this source code. HOT 1
- Wrong version in "boss.json"
- TJSONUtils.SetJSONRttiValue Array Support HOT 1
- Add Custom Validators to TJOSEConsumer/TJOSEConsumerBuilder HOT 1
- Feature Request: Support of OpenSSL 3.0 (and up) HOT 1
- Error on choosing ES256 signing algorithm HOT 5
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 delphi-jose-jwt.