Sign-In Settings
Go to the Design Console -> Publish -> Sign In Settings section
Self-Signup
-
Self-Signup and App URL will be enabled by default. Add roles as per requirement -> click Save
-
Add any additional user attributes -> click Save
Single Sign On
Steps to integrate the marketplace with Auth0
Configure App URL in Auth0
-
Sign in to Auth0 account and copy the Domain ID from My App.
-
Sign in to your White-Label NFT marketplace design console.
-
On the Publish page –> click Sign In Settings.
-
Enable the Single Sign On.
-
Paste the Domain ID that you copied from My App.
-
Go back to My App and copy the Client ID and paste in the Client ID field in the marketplace.
-
Click Save.
-
Copy the URL under the client ID field.
-
Go to My App –> Settings –> Application URLs.
-
Paste the URL address in the following sections:
-
Allowed Callback URLs .
-
Allowed Logout URLs.
-
Allowed Web Origins.
-
Allowed Origins.
-
-
Click Save changes.
Create App User using API
-
On the left-hand panel, go to User Management –> Users –> click Create User.
-
Fill in the details and click Create. Your user ID is created.
-
Go back to the design console of your marketplace –> Click API –> Identities.
-
Copy the Public Key from the newly created ID (usually shown at the top of the result).
-
Click API –> Sandbox –> click Explore APIs to open Xooa API Explorer page.
-
Paste the API Token in the field and click the arrow next to the field.
-
Go to Identities page –> click Add New.
-
Give a name and set the API Access Permission to Read+Write.
-
Click Create.
-
Copy the API Token from the popup and paste the API Token in the field.
-
Click the arrow next to the field. A message will confirm the authorization.
-
On the same page, go to App User –> List roles –> click TRY.
-
Copy the ID for NFT User.
-
Paste it in the user parameters–>Roles field in the API Explorer’s Create page.
-
Copy your user id from My App and paste it in the email ID field in the API Explorer’s Create page.
-
Go to My App –> Applications –> click Applications –> copy Domain ID.
-
Paste the domain ID as the “@ ID” (replace xooa.com).
-
-
Click TRY and check the keys in the popup.
Verify Mint Token using API
-
Go to API Explorer –> NFT –> Mint Token –> fill in parameters –> click TRY.
-
Copy the token id from the Mint Token popup page. Copy it in Notes.
-
Go to NFT –> Transfer –> paste the token id that was copied.
-
Go to App Users–>List roles –> copy the email parameter.
-
Go to NFT –> Transfer –> paste the email parameter in the ‘To’ field –> click Try.
-
From the design console Run as –> NFT User –> Sign In.
-
Go to NFT Wallet –> click to view the token.
Wallet Configuration
Wallet configuration will be default enabled for Login with MetaMask -> click Save only if you disable the option.