miiverse-api
miiverse-api copied to clipboard
[Bug] Connecting with 3DS with no PNID linked gives 015-5015
When trying to open Juxtaposition on the 3DS with no PNID linked, the error 015-5015 is displayed. This is because if the Miiverse applet detects there is no PNID linked, it will try to contact discovery with no X-Nintendo-ServiceToken
header set, which ends up with discovery returning the NO_TOKEN
error: https://github.com/PretendoNetwork/miiverse-api/blob/2af8d744874efb19d4ef58eec23ab6a82d0c29b0/src/middleware/auth.ts#L43
I feel like this isn't intended behavior, and a landing page telling the user to link a PNID should be given instead, just like rverse does:
If I remember correctly, Miiverse had a "guest mode" which would let you view posts but not create any? This is likely what should happen instead imo