Add a Nintendo IdP
On this page
This feature requires at least a Starter plan.
1.36.0
Add a Login with Nintendo button to the FusionAuth login pages. After you configure the Nintendo Identity Provider, you can enable the button for one or more Applications.
The following login page shows the Nintendo button:

The following diagram shows a login through Nintendo on the FusionAuth hosted login pages:
A user logs in through an Identity Provider on the FusionAuth hosted login pages.
The user sees only the FusionAuth login page, the login page of Nintendo, and your application. Your application completes a standard OAuth authorization code grant with FusionAuth, and FusionAuth handles the exchange with Nintendo.
Create a Nintendo Developer Account#
Log in to the Nintendo Developer Portal with an existing account, or register a Nintendo developer account. Nintendo publishes Nintendo Account OAuth documentation only to approved developers. To request a client Id and a client secret, contact Nintendo Developer support.
Create a Nintendo Identity Provider#
To enable Nintendo for an Application or CIMD domain:
-
In the Admin UI, navigate to Settings -> Identity Providers .
-
Click the arrow next to the add button, and select Nintendo .
-
Select the Tenant for the Identity Provider, or select
Global identity provider. You can't change the scope later. For more information, see Identity Provider Scope. -
Fill out the form. Your identity provider supplies most of the values. For a description of each field, see Form Fields.
-
On the Applications tab, turn on Enabled for each Application or CIMD domain that uses the Identity Provider.
-
To register new users for the Application with the Application's default roles, turn on Create registration. When Create registration is off, a user needs a registration for the Application before the user can log in through the Identity Provider.
-
Click .
The login page of each enabled Application then shows a login button for the Identity Provider. An Identity Provider with managed domains asks for the user's email address instead of showing a button.

Form Fields#
IdA UUID for the Identity Provider. When you leave Id empty, FusionAuth generates an Id.
TenantThe Tenant that the Identity Provider belongs to. When you select a specific tenant on the previous page, FusionAuth shows Tenant. When you select Global identity provider, FusionAuth hides Tenant.
NameA unique name for the Identity Provider. FusionAuth uses the name for display only, and you can change the name later.
Client IdThe client Id from Nintendo.
Client secretThe client secret from Nintendo. FusionAuth authenticates requests to Nintendo with the secret.
Button textThe text of the Nintendo button on the FusionAuth login page.
ScopeThe scopes FusionAuth requests from Nintendo for details about the user.
Linking strategyHow FusionAuth links a Nintendo user to a FusionAuth user. For more information, see Linking Strategies.
Reconcile lambdaA lambda that maps custom claims from Nintendo to the FusionAuth User or Registration. To create a lambda, go to Customizations -> Lambdas . For more information, see Lambdas.
Enable debug loggingWhen you enable debug logging, FusionAuth writes Event Log entries during the login process. Use the entries to debug integration issues.
Tenants#
The Tenants tab limits the number of links that each user in a Tenant can have to this Identity Provider. Links to other Identity Providers don't count toward the limit. On a global Identity Provider, the tab starts empty. To set a limit for a Tenant, click Add tenant configuration . On a tenant-scoped Identity Provider, the tab lists only the Identity Provider's Tenant.
Limit links per userWhen turned on, FusionAuth enforces Maximum link count for users in the Tenant.
Maximum link countThe maximum number of links that a user can have to this Identity Provider. When a user reaches the limit, FusionAuth rejects a new link. The Link API returns a 400, and the hosted login pages show an error.
For more information, see Identity Providers and Tenants.
Options#
The Options tab sets the names of the claims that FusionAuth reads from Nintendo.

Unique Id claimThe name of the claim that contains the immutable unique Id of the user.
Email claimThe name of the claim that contains the user's email address.
Username claimThe name of the claim that contains the user's username.
Building Your Own Integration#
To build your own login experience instead of using the FusionAuth hosted login pages, start the Identity Provider flow in your application, and complete the login with the Login API. The following diagram shows the flow:
Your application starts the Identity Provider login and completes the login with the FusionAuth API.
For the request that completes the login, see the Nintendo Identity Provider API.
When your application needs a refresh token after the login, turn on Enable JWT Refresh for the Application. In the Admin UI, navigate to Applications -> Your Application -> Security -> Login API settings .
Related
Learn how to add an Epic Games login button to the FusionAuth login pages.
Learn about the APIs for creating, retrieving, updating and deleting a Nintendo identity provider.
Learn how to add a Login with Discord button to the FusionAuth login pages with the OpenID Connect Identity Provider.
Learn how to add a Sony PlayStation Network login button to the FusionAuth login pages.