PretendoNetwork / miiverse-api

Pretendo Network's Miiverse service
GNU Affero General Public License v3.0
65 stars 11 forks source link

[Bug] Connecting with 3DS with no PNID linked gives 015-5015 #35

Open DaniElectra opened 6 months ago

DaniElectra commented 6 months ago

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:

imagen

jonbarrow commented 1 month ago

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