Commit Graph
324 Commits
Author SHA1 Message Date
DCjanusandcopilot-swe-agent[bot] bd23e5fce6 [GitHub] Store accepted token scopes (#11915)
* feat(github): store token scopes

Assisted-by: Codex <gpt-5.5>

* perf(github): index token scopes

Assisted-by: Codex <gpt-5.5>

* feat(github): persist accepted token scopes

Assisted-by: Codex <gpt-5.5>

* docs(github): clarify OAuth scope capture

Assisted-by: Codex <gpt-5.5>

* docs(github): shorten OAuth scope note

Assisted-by: Codex <gpt-5.5>

* docs(github): clarify default OAuth scopes

Assisted-by: Codex <gpt-5.5>

* docs(github): link OAuth scope discussion

Assisted-by: Codex <gpt-5.5>

* docs(github): mark OAuth scopes as TODO

Assisted-by: Codex <gpt-5.5>

* fix(token-pool): refresh existing token data

Assisted-by: Codex <gpt-5.5>

* fix(token-pool): avoid duplicate revalidated tokens

Assisted-by: Codex:gpt-5.5

* fix(token-pool): remove revalidated tokens from priority queue

Assisted-by: Codex:gpt-5.5

* fix(token-pool): preserve token metadata on re-add

Assisted-by: Codex:gpt-5.5

* chore(github): defer token scopes index

Assisted-by: Codex:gpt-5.5

* fix(github): trim accepted token scopes

Assisted-by: Codex:gpt-5.5

* chore(github): keep token scopes index

Assisted-by: Codex:gpt-5.5

* docs(token-pool): document metadata update semantics

Assisted-by: Codex:gpt-5.5

* chore(github): store token scopes without index

Assisted-by: Codex:gpt-5.5

* chore: rerun ci

* test(token-pool): use mixed scope persistence fixture

Assisted-by: Codex:gpt-5.5

* fix(token-pool): replace invalid tokens on re-add

Keep stale queue references invalid so they can be removed lazily without rebuilding the priority queue.

Assisted-by: Codex:gpt-5.6-sol

* chore: apply Prettier 3.9 formatting

Assisted-by: Codex:gpt-5.6-sol

* chore: retry CI

Assisted-by: Codex:gpt-5.6-sol

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-07-20 15:31:01 +02:00
coyaSONG 6e1025c36f docs: document category validation helpers (#11998) 2026-07-16 08:06:50 +00:00
dependabot[bot]andPierre-Yves Bigourdan de8738a003 chore(deps): bump graphql from 16.14.1 to 17.0.2 (#11970)
* chore(deps): bump graphql from 16.14.1 to 17.0.2

Bumps [graphql](https://github.com/graphql/graphql-js) from 16.14.1 to 17.0.2.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.14.1...v17.0.2)

---
updated-dependencies:
- dependency-name: graphql
  dependency-version: 17.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Support collections that can be undefined rather than empty

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pierre-Yves Bigourdan <10694593+PyvesB@users.noreply.github.com>
2026-07-04 10:39:08 +00:00
ChloeandChloe VPin 43c4f7e139 docs: add JSDoc to checkErrorResponse and test-results helpers (#11988)
Document checkErrorResponse factory in core/base-service and
renderTestResultMessage/renderTestResultBadge in services/test-results.

Signed-off-by: ChloeVPin <227690662+ChloeVPin@users.noreply.github.com>
Co-authored-by: Chloe VPin <227690662+ChloeVPin@users.noreply.github.com>
2026-07-01 17:30:26 +00:00
dependabot[bot]andPierre-Yves Bigourdan 12956aad4b chore(deps): bump js-yaml from 4.2.0 to 5.0.0; run [dynamicyaml ros conan wingetreleasedate] (#11943)
* chore(deps): bump js-yaml from 4.2.0 to 5.0.0

Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.2.0 to 5.0.0.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.2.0...5.0.0)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 5.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Migrate code

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pierre-Yves Bigourdan <10694593+PyvesB@users.noreply.github.com>
2026-06-28 10:33:05 +00:00
Pierre-Yves Bigourdan 991ffcfdb4 Stop disallowing unknown keys (#11942) 2026-06-21 19:50:10 +00:00
Gautam KumarandGautam Kumar 2933ad9ca4 docs(core): add JSDoc to coalesceBadge, parseJson, parseJsonl, getUserAgent, generateInstanceId, rasterRedirectUrl, escapeFormat (#11939)
Signed-off-by: Gautam Kumar <gautamkumarofficial@users.noreply.github.com>
Co-authored-by: Gautam Kumar <gautamkumarofficial@users.noreply.github.com>
2026-06-21 12:13:13 +00:00
Pierre-Yves Bigourdan 1b1cf043ce Retry on [GitHub] 401 error codes (#11933)
* Retry on [GitHub] 401 error codes

* Fix auth service test
2026-06-17 11:26:21 +02:00
Pierre-Yves Bigourdan dffd223ef4 Add telemetry when GitHub token is removed (#11922) 2026-06-13 19:03:16 +00:00
juannbasualdo 29801eaf9a Add JSDoc for BaseStaticService (#11914) 2026-06-07 10:57:59 +00:00
Inuka Wijerathna 313cc05608 docs(core): add JSDoc to toArray, coalesce, and trace utilities (#11909)
* docs(core): add JSDoc to toArray utility

* docs(core): add JSDoc to coalesce utility

* docs(core): add JSDoc to trace logging utilities

* fix(docs): remove invalid JSDoc inline tag and add trailing newline in coalesce

* fix(docs): add trailing newline to to-array

* fix(docs): add @param description for options and trailing newline in trace

* fix(docs): ensure LF line endings in coalesce

* fix(docs): ensure LF line endings in to-array

* fix(docs): ensure LF line endings in trace

* fix(docs): insert JSDoc into original trace.js preserving template literals
2026-06-07 10:57:22 +00:00
DCjanus 14922dfa9a fix(test): await SQL token fixture inserts (#11885)
* fix(test): await SQL token fixture inserts

Assisted-by: Codex:gpt-5.5

* fix(test): join SQL token fixture inserts

Assisted-by: Codex:gpt-5.5
2026-06-02 19:36:48 +02:00
Pierre-Yves BigourdanandjNullj 3057d876c3 Optimise SVG badge sizes (#11860)
* Optimise SVG badge sizes

* Make shadowY relative to y

Co-authored-by: jNullj <15849761+jNullj@users.noreply.github.com>

---------

Co-authored-by: jNullj <15849761+jNullj@users.noreply.github.com>
2026-06-02 19:35:11 +02:00
dependabot[bot]andjNullj d4acd740ac chore(deps): bump got from 14.6.6 to 15.0.5 (#11848)
* chore(deps): bump got from 14.6.6 to 15.0.5

Bumps [got](https://github.com/sindresorhus/got) from 14.6.6 to 15.0.5.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v14.6.6...v15.0.5)

---
updated-dependencies:
- dependency-name: got
  dependency-version: 15.0.5
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* migrate got promise.cancel to AbortController

breaking changes of got v14 -> v15 dropped cancel() and replaced with AbortController signal

* tests: replace 'undici' FormData with native FormData

due to got migration from v14 -> v15 usage of non native FormData is unsupported.

* fix: url usage in got.post

* fix: adjust clock tick duration in metrics test

* improve test robustness

use a promise to wait for custom metrics push to resolve rathrer then rely on timers

* fix: move abortController from function to fetch instance

* remove old comment

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jNullj <15849761+jNullj@users.noreply.github.com>
2026-06-01 19:54:50 +00:00
Zxilly b7b6de0363 [Cangjie] Add new service (#11789)
* feat: add [cangjie] service

* feat: integrate BaseJsonlService into Cangjie service

* refactor: regroup Cangjie version service

* fix: utilize new options

* refactor: removing options parameter
2026-05-15 18:59:45 +00:00
jNullj cb34c2fb62 refactor: rename deprecatedService to retiredService [*****] (#11803)
* refactor: rename deprecatedService to retiredService

- Updated all instances of deprecatedService to retiredService in service implementations, tests, and documentation.
- Changed attribute names from isDeprecated to isRetired in relevant schemas and service definitions.
- Adjusted tests and documentation to reflect the new terminology and ensure consistency.

* docs: rename deprecating-badges.md to retiring-badges.md

* refactor: rename files deprecated-service to retired-service

* refactor: update terminology from deprecated to retired in badge documentation
2026-05-10 23:11:05 +03:00
Josh Goldberg ✨ 7158b63447 feat: improve badges color contrast (#11783)
* feat: improve badges color contrast

* fix: add blur to Plastic renderer

* test: add updated snapshots

* ref: extracted a shared method for blur elements

* chore: switch 4c1 to 4b0

* chore: whoops, put back scripts/

* Switch brightgreen to 4b0
2026-05-10 19:53:27 +00:00
jNulljandCopilot e553542f3a refactor: replace 'format' with 'pattern' in deprecated example/test (#11812)
part of issue #3329
helps unblock #11800

Co-authored-by: Copilot <copilot@github.com>
2026-05-05 18:33:08 +00:00
jNullj 2c25b780f8 change deprecated badge messages to 'retired badge' [Bit Codeclimate Codeship Coincap DockerCloud GithubWorkflowStatus Hackage NostrBand Pub Security-Headers VisualStudioAppCenter VisualStudioMarketplace Wikiapiary] (#11798)
* change deprecated badge messages to 'retired badge'

- reduce confusion over deprecated badge source (badge, shields, endpoint service, user's service)
- reduce length of message to reduce traffic

update all deprecated services and base class code in a follow-up commit after discussion.

see https://github.com/badges/shields/pull/11792#issuecomment-4229267483

* update default deprecation message to 'retired badge'

* update deprecated badge messages to 'retired badge' in tests
2026-04-12 22:15:50 +00:00
Pierre-Yves Bigourdan 75996114a2 Remove misleading TODO (#11784) 2026-04-05 21:07:07 +00:00
jNullj 410c067400 replace @sentry/node with @sentry/node-core/light (#11731)
a cut down more lightwight version that should in theory fit all our existing needs.
2026-03-08 22:19:57 +00:00
Pierre-Yves Bigourdan 8c838ea90c Remove cors.allowedOrigin config (#11723) 2026-03-07 21:06:00 +00:00
jNullj c647f05307 Remove deprecated fetchLimit from configuration (#11684) 2026-02-17 21:56:32 +00:00
jNulljandPierre-Yves Bigourdan fcfbf895c1 Improve our approach for testing auth (part 2) - basicAuth (#9983)
* improve stackexchange auth testing

Change auth tests to include all shields of the base class.
The code is formated to be used in more general cases and increases code reuseability.

* Remove dummy auth test

We already test all existing classes, no need for a dummy

* Add getBadgeExampleCall to test-helpers

Add getBadgeExampleCall to extract the first OpenAPI example then reformat it for service invoke function.

* Use getBadgeExampleCall in stackexchange-base tests

* Fix getBadgeExampleCall Errors

* Add testAuth to test-helpers

Add the testAuth function which tests auth of a service (badge) using a provided dummy response.

* Refactor stackexchange-base.spec.js to use testAuth from test-helpers

* Split stackexchange-base.spec into per service test file

* Add all auth methods to testAuth

Add all auth methods used to testAuth to be generic and used by all services.
Add helper functions to make testAuth more readable

* Handle non-default bearer and api headers

* Add discord.spec.js as first attempt for bearer auth

* Fix basic auth user

* Add dynamic authorizedOrigins

* Add header optional argument

* Add obs as basicAuth example

* Use apiHeaderKey and bearerHeaderKey function params

Use apiHeaderKey & bearerHeaderKey as function params rather then extracting them with regex from function strings.

Those options are now part of an options object param joined with the contentType that replaces header.

header was originaly added for setting content type of the reply, so it makes more sense to directly set the content type

* Remove old comment

* Allow any pass & user key for QueryStringAuth

Before this commit the QueryStringAuth would only work for the key of stackexchange.
This commit makes the testAuth function generic and allows passing user and pass keys.

* Add auth test for PepyDownloads

* Fix wrong header for jwt login

Might set wrong header for jwt login request.
This commit fixes that.

* Support multiple authOrigins in testAuth

Some services might have more then one authOrigin.
This commit makes sure we test for redundent authOrigins as well as support requests to them if needed.

* Add docker-automated auth test

* Fix JwtAuth testing by introducing mandatory jwtLoginEndpoint

Prior to this change, JwtAuth testing would lead to erros due to the absence of a specified login endpoint,
Nock would be dumplicated for both login and non login hosts and indicate a missing request.

This commit enforces the requirement for a new jwtLoginEndpoint argument when testing JwtAuth.
The argument seperates the endpoint nock scope from the behavior of the request nock.

* Fix type test in generateFakeConfig

* Add exampleOverride to testAuth

Introduce `exampleOverride` to test authentication scenarios.
Allows providing custom examples for testAuth via an object.
Simulates service requests that trigger desiered condition paths in tests.

* Add authOverride to testAuth

Some classes can change the auth based on badge inputs.
This parameter allows the flexability of overriding the default auth for testing those cases.

* Add configOverride to testAuth

Some tests might require non default config for cases where these are set.
This allows creating tests for those cases.

* Fix example params by split into path and query

Splits testAuth example params into path and query params.
Introduce paramType to getBadgeExampleCall

* Refactor BitbucketPullRequest for testAuth

Refactor to add auth static properties.
for better integration with testAuth.

Refactor bitbucketpullrequest for testAuth

* Refactor: use testAuth for BitbucketPullRequest

* Fix BitbucketPullRequest tests using authOverride

* Add auth testing for jenkins services with testAuth

* Add auth testing for Jira services with testAuth

* Add auth testing for Nexus services with testAuth

* Improve error handling in getServiceClassAuthOrigin

Enhance reliability by throwing a TypeError when a service key definition is missing.
It's common for a key to be missing and might require the developer that writes tests to provide a fake on that fits the examples used.

Key changes:
- Added a check for missing service key definitions in getServiceClassAuthOrigin.
- Throws a TypeError with a clear message if the key is not found.
- Guides devs to use an override if needed which is often.

* Fix edge case in testAuth for user only auth

Addresses a scenario where generateFakeConfig/testAuth would fail for classes using auth.userKey without auth.passKey.
Ensures proper handling of user-specific authentication even if a password key is not present.
Throws a TypeError only when both fakeKey and fakeUser are missing.
Better fit for AuthHelper behivor.

* Add option to not import openApi example in testAuth

Added for services without openApi examples.
Dev can use example override to add example inputs in those cases.

* Add auth testing for Sonar services with testAuth

* Add auth testing for SymfonyInsight services with testAuth

* Refactor TeamCity auth tests for use of testAuth

* Refactor testAuth function to handle defaultToEmptyStringForUser auth option

* Add support for multiple requests in testAuth function

Some services might have more then one request to auth with the server for the same shield.
This commit adds support for those requests in testAuth using the new multipleRequests option.

* Add auth testing for AzureDevOps services with testAuth

* Fix async mocha tests

Missing return for async mocha tests caused the tests to run async and throw errors of one test in another.
This commit makes sure all testAuth tests return a promise to mocha for it to await.

* Remove ignoreOpenApiExample option in testAuth function

The `ignoreOpenApiExample` option in the `testAuth` function is no longer needed and has been removed. This option was used to ignore OpenAPI examples for classes without OpenAPI, but it is no longer necessary as the function now handles this case correctly.
BaseService defines by dafault empty object for openApi so if nothing is set we expect empty obj.
Warn devs about missing openApi as openApi is standard for services now.

* handle extraction of openApi boolean examples

Improve authTest by handeling boolean example extractions.
Remove example override not needed after this change.

* Use static headers in base service classes and remove contentType option from testAuth

Refactor the base service classes (BaseGraphqlService, BaseJsonService, BaseSvgScrapingService, BaseTomlService, BaseXmlService, BaseYamlService) to use static headers for access from other function to header types.
Remove testAuth contentType option and use the new headers veriable to extract headers insted.

* Remove contentType option tests using testAuth

This option is removed

* Update jenkinsCoverage response

Example changed at 62ed7c3a27
The new example schema differ from old one
This caused test to fail
Update example response to fit new schema

* remove BitbucketPullReuqest tests

remove for adding these changes in a later PR.
this test adds the authOverride we try to get rid of.
This blocks testAuth development and is planned for a later time.

* fix: fix wrong exception message & check order

* fix typo

Co-authored-by: Pierre-Yves Bigourdan <10694593+PyvesB@users.noreply.github.com>

* fix typo cleanup -> clean up

Co-authored-by: Pierre-Yves Bigourdan <10694593+PyvesB@users.noreply.github.com>

* fix exception error text 'object' -> 'boolean'

Co-authored-by: Pierre-Yves Bigourdan <10694593+PyvesB@users.noreply.github.com>

* fix: return merged authorizedOrigins in getServiceClassAuthOrigin

* update JenkinsTests origin

Was outdated after merging with master.
This commit fixes origin test to openapi example.

* fix(docs): docstring origins type

* fix typo

* fix(auth): reduce strictness for JwtAuth test

Avoid exact body match requirement.
We are only intrested in username and password values to match, not exact one to one object.

---------

Co-authored-by: Pierre-Yves Bigourdan <10694593+PyvesB@users.noreply.github.com>
2026-01-11 19:32:38 +00:00
Pierre-Yves Bigourdan 9fcc44a1ee Remove cors.allowedOrigin config (#11611)
* Remove cors.allowedOrigin config

* Put deprecation warning
2026-01-04 08:05:18 +00:00
Pierre-Yves Bigourdan 8b4f2f0aff Cache deprecated badges for a day (#11582) 2025-12-22 18:57:55 +01:00
Pierre-Yves BigourdanandjNullj fbe433c263 Add issueUrl parameter to deprecatedService helper and remove Deprecated error (#11534)
* Add issueUrl parameter to deprecatedService helper

* refactor test response for GithubWorkflowStatus into a const

* Update variable name

---------

Co-authored-by: jNullj <15849761+jNullj@users.noreply.github.com>
2025-12-17 22:37:59 +00:00
Pierre-Yves Bigourdan 3ff2e5bd20 Drop support for fetchLimit config (#11569) 2025-12-09 20:43:57 +00:00
LitoMore 52df4da7de Treat img.shields.io/favicon.ico as 404 resource (#11576) 2025-12-08 20:02:48 +00:00
jNulljandPierre-Yves Bigourdan 817b04794f Add allowUnsecuredEndpointRequests config option for [Endpoint] (#11530)
* add allowUnsecuredEndpointRequests config option

* allow http endpoint request using new config

fixes endpoint.svg requires https for localhost
Fixes #2891

base of feedback from pr #2903

* add tests for new allowUnsecuredEndpointRequests config

* convert class veriable allowUnsecured into instence private veriable

Co-authored-by: Pierre-Yves Bigourdan <10694593+PyvesB@users.noreply.github.com>

* add missing rename

continues prev commit

Co-authored-by: Pierre-Yves Bigourdan <10694593+PyvesB@users.noreply.github.com>

* rewrite endpoint spec tests

---------

Co-authored-by: Pierre-Yves Bigourdan <10694593+PyvesB@users.noreply.github.com>
2025-12-02 19:01:11 +00:00
Pierre-Yves Bigourdan d3db94d637 Separate GitHub token metrics and debug logging (#11504) 2025-11-15 22:25:49 +00:00
LitoMore c76251934b chore: unblock the deprecated http_parser issue (#11279)
* chore: unblock the deprecated `http_parser` issue

* Add license & readme
2025-11-15 22:16:36 +00:00
Pierre-Yves Bigourdan 3dbe091aa3 Introduce fileSizeBytes config (#11430) 2025-11-15 13:28:07 +01:00
Pierre-Yves Bigourdan 2095c5c218 Fix GitHub token pool debug logging and add metrics (#11500) 2025-11-15 10:59:51 +00:00
Pierre-Yves Bigourdan d366857800 Remove legacy configuration checks (#11424) 2025-11-13 22:34:41 +01:00
Pierre-Yves Bigourdan e948cd54b9 Return 200 status code for not found badges (#11479) 2025-11-08 18:32:56 +00:00
Pierre-Yves Bigourdan d5f311db91 Stop depending on node-env-flag (#11429) 2025-11-05 19:59:31 +00:00
Pierre-Yves Bigourdan 7221c3843a Remove minimist dependency (#11437) 2025-11-01 14:46:27 +00:00
Pierre-Yves Bigourdan c737ee04a2 Stop depending on lodash groupby, difference and times (#11428) 2025-10-22 22:00:41 +00:00
Pierre-Yves Bigourdan 0182fe28f5 Remove read-all-stdin-sync dependency (#11433) 2025-10-21 07:16:35 +00:00
Pierre-Yves Bigourdan 959e1c8bec Replace query-string with qs (#11425) 2025-10-17 17:35:14 +00:00
Pierre-Yves Bigourdan 74bb49bb57 Fix JSDocs syntax (#11404) 2025-10-06 16:30:22 +00:00
dependabot[bot]andjNullj eb13902caf chore(deps-dev): bump eslint-plugin-jsdoc from 60.4.1 to 60.7.0 (#11394)
* chore(deps-dev): bump eslint-plugin-jsdoc from 60.4.1 to 60.7.0

Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 60.4.1 to 60.7.0.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v60.4.1...v60.7.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-version: 60.7.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(lint): remove module filepath for same file - replace with import() for external module file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jNullj <15849761+jNullj@users.noreply.github.com>
2025-10-01 21:42:55 +00:00
Pierre-Yves Bigourdan 531e22cb49 Drop popout style fallback (#11367) 2025-09-24 08:11:11 +00:00
chris48s 945d1ab079 limit label and message to 255 chars (#10998) 2025-04-19 14:52:44 +01:00
chris48s 5fb5a30188 tweak default cache lengths by category (#10919) 2025-03-06 17:30:49 +00:00
chris48s 8a98824e5e use SVG2 hrefs (#10918)
* use SVG2 hrefs

* add note to badge-maker changelog
2025-03-03 17:58:48 +00:00
jNullj 42e78083ab remove logoWidth param (#10878)
* remove `logoWidth` param
Fixes #10285

* remove `logoWidth` param
Fixes #10285

* fix: add `logoWidth` parameter to BaseService test
2025-03-02 11:16:02 +00:00
chris48s 954147f7d9 URL validator tidyup; affects [discourse dynamic endpoint gerrit jira maven nexus osslifecycle python vpm website] securityheaders sonar swagger w3c (#10810)
* add a required url validator

* replace occurrences of optionalUrl.required() with url

* use standard validators in server.js
2025-01-18 19:16:41 +00:00
Pierre-Yves Bigourdan 4a75cf09a7 Add auth support to [Reddit] badges (#10790)
* Add auth support to [Reddit] badges

* Simplify token response schema
2025-01-18 16:13:53 +01:00