-
Notifications
You must be signed in to change notification settings - Fork 0
[$50] Plugin not colouring admin handles in orange #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Contest https://www.topcoder.com/challenges/30140229 has been created for this ticket. |
Contest https://www.topcoder.com/challenges/30140229 has been updated - it has been assigned to obog. |
@jmgasper Implemented but need to test with m2m Topcoder params. I've tried to use m2m Topcoder values from challenge forum processor but I get the "The machine user should have the scope as 'read:roles'" error: Member API (/user/stats) used in Topcoder plugin doesn't require any auth headers. Please provide m2m params, I'll test it. PRstopcoder-platform/forums-plugins#17 - Forums issues 24, issue 25 New M2M TOKEN paramsNeed to set env vars to generate M2M token in vanilla.env. Testing with hard-coded token: Topcoder Plugin settingsAdded the roles API param: |
@atelomycterus - Thanks. I've requested an M2M key / secret specific to the forums. |
@atelomycterus - Here are some details and feedback from Topcoder:
Those above are already injected in the CI/CD build
|
@jmgasper 1. Yes, sure. I'll fix it. Get a new token:
Get roles:
|
@atelomycterus - Should be fixed now, sorry about that. |
@jmgasper Still not working.
|
@atelomycterus - Sorry about that, checking with Topcoder |
@jmgasper I see it's working now. Please apply PR - topcoder-platform/forums-plugins#18 with updated m2m token names. Thanks! M2M token params AUTH0_AUDIENCE= Colors The orange color is brighter for admins: |
Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30140229 |
Uh oh!
There was an error while loading. Please reload this page.
To get the
role
for a user:curl --location --request GET 'http://api.topcoder-dev.com/v3/roles?filter=subjectID%3D23194912' --header 'Authorization: Bearer <token value>'
where
23194912
is the ID fornick.castillo
.The response should contain the roles for a user and we want to show orange for:
Admin
admin
administrator
Administrator
The text was updated successfully, but these errors were encountered: