Ash Logan b9cf3194fc
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
fix: Seperate token checks by type
Give each expected token type a seperate function and un-export the "generic" one.

This required deciding what the "expected" token type is for all endpoints. Possibly contraversial choices are:

- API tokens only on the HTTP API (no service tokens)
- API tokens only on the gRPC APIs
- API tokens only on ExchangeTokenForUserData (I could only find 1 user of this API - BOSS - and they use API tokens here)

Notably, there is now no way to get the account server to validate a service token - services must decrypt them locally. We should probably add an API for this for the benefit of third parties.
2025-06-22 19:54:27 +10:00
2025-05-19 23:44:21 +01:00
2025-06-22 19:54:27 +10:00
2024-06-24 17:51:43 -04:00
2025-06-17 16:55:38 -04:00
2024-07-01 15:30:23 -04:00
2022-08-13 20:43:16 -04:00
2025-05-19 23:44:21 +01:00
2023-04-27 16:01:58 -04:00

Account server

Replacement for several account-based services used by the WiiU and 3DS. It replaces the NNID api as well as NASC for the 3DS. It also contains a dedicated PNID api service for getting details of PNIDs outside of the consoles (used by the website)

Setup

See SETUP.md for how to self host

Description
Pretendo account server
Readme AGPL-3.0 9.1 MiB
Languages
TypeScript 92.2%
HTML 2.5%
EJS 2.3%
CSS 1.4%
JavaScript 1.3%
Other 0.3%