Comments (6)
what was the payload the first time you sent it, and then what was the updated payload? If you just remove the badges field I don't think it will update it, you will need to send through an empty array.
from talk.
Here was my original
{
"user": {
"id": "25",
"email": "[email protected]",
"username": "anotheruser",
"badges": [
"BadgeName"
],
"url": "https://mysite.com/profile"
}
}
Here is a screenshot of the badge working
It seems to me that the badge is updated and saved only on first sso token auth and after that the system ignores it, I will try and test a bit more and confirm.
I may try rotating the secret and invalidating all old tokens and then try again.
I do appreciate your time, thanks for getting back to me.
from talk.
Can confirm even after invalidating old SSO secret and generating new tokens again the badges do not update,
Here is what I have tested
payload with empty array for the users.badges field
payload with 1 string array with the badge string of "badge1"
payload with 2 string array of ["badge1","badge2"]
created a new user with the new payload and it shows the newest badge input.
from talk.
are you including an iat
field in your payload?
from talk.
It seems when I enable iat, exp, jti things work as expected.
I'll test and see which one did it or if I need all 3 turned on.
May be worth updating the documentation to say that badges require them?
from talk.
thanks for your help @tessalt !
from talk.
Related Issues (20)
- Long comments trigger Slack error HOT 3
- Comments are not loading when scrolling HOT 8
- New commenter approval: Bug or is this As Designed? HOT 4
- broken link in docs HOT 2
- Client Theme Builder GUI HOT 1
- Moderation is broken with 8.6.0 HOT 4
- GDPR - actively clean up rejected comments older than 1 year HOT 4
- DSA Anonymous Reporting HOT 7
- Errors that seem to have no effect HOT 1
- INTERNAL_ERROR: Text record must only set "authSource" or "replicaSet"` HOT 1
- Support for Hostnames without TLD in "Site permitted domains" HOT 2
- OpenID Connect HTTP Callback Url HOT 3
- Adding unnecessary padding when trying to render commenting thread in a modal HOT 5
- Error while upgrading from 7.3.0 to 8.0.0 HOT 8
- Finnish translation: Notification email footer issues HOT 3
- Expand visible dashboard data to weekly/monthly HOT 1
- Story cache - DATA_CACHING_NOT_AVAILABLE HOT 6
- Option to close sitewide commenting for a specific time (ie. from midnight to 6 am.) HOT 3
- connect to a serverless MongoDB cluster. HOT 1
- Put admin dashboard and used graphql queries/mutations on separate domain/path HOT 1
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 talk.