-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More info on Authentication #1
Comments
This is great, thanks for posting! I'll add if I can find anything more about the authentication endpoints. |
the app follows rfc7637 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I did a bit of research and while I still don't fully understand how auth works I have some additional information. I'm creating an issue instead of a PR, as this isn't finished yet.
URL: https://accounts.nintendo.com/connect/1.0.0/authorize
Method: GET
Parameters:
npf54789befb391a838://auth (Nintendo Switch Parental Controls)
54789befb391a838 (Nintendo Switch Parental Controls)
openid user user.mii moonUser:administration moonDevice:create moonOwnedDevice:administration moonParentalControlSetting moonParentalControlSetting:update moonParentalControlSettingState moonPairingState moonSmartDevice:administration moonDailySummary moonMonthlySummary (Nintendo Switch Parental Controls)
Response: HTML Site
Redirects to new URI after successful login:
URI: redirect_uri parameter
Parameters:
TL;DR: We can't use the AUTH api, as redirect_uri seems to be using a whitelist. We don't know how state is generated, but it probably doesn't matter (I haven't tested making requests with a random state yet, but the login works)
EDIT: I don't know a lot about web Authentication, but I would guess that it uses OAuth 2.0, in which case the state would be random.
EDIT2: Added some values from the Switch Parental Control app
The text was updated successfully, but these errors were encountered: