Pretendo account server
Go to file
2018-04-10 14:12:26 -04:00
certs/jwt Finally added proper JWT support 2018-04-10 14:03:13 -04:00
routes Fixed NEX token generating 2018-04-10 14:12:26 -04:00
.eslintrc.json Disabled "linebreak-style" rule 2018-03-06 12:54:22 -05:00
.gitignore Finally added proper JWT support 2018-04-10 14:03:13 -04:00
.travis.yml Added travis.yml, and ESLint rules 2018-03-06 12:50:30 -05:00
constants.js Added travis.yml, and ESLint rules 2018-03-06 12:50:30 -05:00
db.js Finally added proper JWT support 2018-04-10 14:03:13 -04:00
debugger.js Added travis.yml, and ESLint rules 2018-03-06 12:50:30 -05:00
example.config.js Finally added proper JWT support 2018-04-10 14:03:13 -04:00
helpers.js Finally added proper JWT support 2018-04-10 14:03:13 -04:00
LICENSE Initial commit 2018-02-27 16:34:13 -05:00
mailer.js Finally added proper JWT support 2018-04-10 14:03:13 -04:00
package-lock.json Finally added proper JWT support 2018-04-10 14:03:13 -04:00
package.json Finally added proper JWT support 2018-04-10 14:03:13 -04:00
README.md Tweaks 2018-04-10 14:05:36 -04:00
run_server.bat Moved repo 2018-02-27 17:29:28 -05:00
server.js Finally added proper JWT support 2018-04-10 14:03:13 -04:00
xml-middleware.js Added travis.yml, and ESLint rules 2018-03-06 12:50:30 -05:00

account.pretendo.cc

Travis

forthebadge

Pretendo replacement for https://account.nintendo.net

What is this?

This is the PN account server, which replaces the official NN account server account.nintendo.net

What works

  • PNID (Pretendo Network ID) creation
  • PNID deletion
  • Logging in (access and refresh tokens granted)
  • Email validation (6 digit PIN)
  • Email validation (email token)
  • Linking existing PNID to new user on console
  • Mapping user username -> PID (mapped_ids admin endpoint)
  • Custom EULA
  • Timezone lists
  • Unlink PNID from user account on console
  • Account retrieval
  • NEX token granting (still in testing, currently no working NEX/PRUDP server)

Currently implemented endpoints

Currently implemented nex servers

None

Footnotes

1 I do not know what other TYPE's there are. I currently only know of one, Nintendo-Network-EULA, I still am unsure as to when I should throw error 1102 and I lack the remaining data for the rest of the EULA agreements.

2 There are MANY values here that Nintendo seems to generate on their servers. I have no idea what some of these values mean and where/how they are used. Because of this I am unsure how to properly generate these values, and I am using placeholder values instead! (see here for an example of what the return for an account is )

The entire accounts section at the beginning is new, and not sent by the registration request. It seems to have something to do with eShop accounts, though I don't know what exactly. I went to the eShop and it never even makes a request to that endpoint so the eShop isn't using that data, yet it's the only "account" mentioned. I am also unsure as to what active_flag is used for. There are also several id fields that seem completely pointless, like the id field in the email section and how the mii has it's own id, as do each of the different mii_image fields.

The EULAs need to be changed, as they are currently stock Nintendo's.