Comments (9)
I sent it via bearer token
from yii2-jwt.
hey, nothings wrong with the package. its because of the user model inside common/models/User.php. The model is used for web and the table is different. so i need to create a new model for it to work.
from yii2-jwt.
It's hard to say, you must debug it. First check the token you generated and paste it at https://jwt.io/ to see if everything is ok with it. Then check whatever causes the problem in https://github.com/bizley/yii2-jwt/blob/master/src/JwtHttpBearerAuth.php
from yii2-jwt.
Invalid signature, do you have any idea why is this happening?
from yii2-jwt.
This part is ok, if you want to check the signature as well you need to paste the secret there.
from yii2-jwt.
Do you have any idea where should i look at? Does my codes right? been looking every where but still to no avail
from yii2-jwt.
I would run my token through parse and validate.
from yii2-jwt.
One more thing, because I don't see it anywhere in your screens - are you sure the token is sent properly in the headers?
from yii2-jwt.
So how's it going with the parse and validate? Any luck in the debugging?
from yii2-jwt.
Related Issues (12)
- [Q] How to set validationConstraints? HOT 12
- Improvements ideas HOT 5
- No constraint given HOT 5
- [Q] Can you please add support php >=8.0? HOT 1
- sizeg/yii2-jwt to bizley/yii2-jwt fails to validate \Lcobucci\JWT\Validation\Constraint\SignedWith constraint HOT 2
- [Q] validationConstraints is true? HOT 2
- Token isn't expiring HOT 2
- Tokens sometimes give odd error on pages that auto-refresh HOT 2
- [Q] How to use this lib "validation-only"? HOT 6
- the problem is about select user model HOT 3
- [Feature] Allowing Yii-style constraint classes configs
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 yii2-jwt.