OptionalaffiliateOptionalauthShow the login or sign up screen when a session does not exist during an MtLinkSdk.authorize call.
Set default value via MtLinkSdk.init
OptionalauthnUse different authentication methods.
OptionalbackA redirection URL for redirecting a user back to in one of the following conditions:
Back to [App Name] button in any Moneytree screen.⚠️ No Back to [App Name] button will be shown if this value is not set, and any of the actions mentioned above will redirect the user back to the login screen by default.
Set the default value via MtLinkSdk.init
OptionalclientOptionalcobrandBrand Moneytree apps with client's branding. E.g: logo or theme.
OptionalemailEmail address to pre-fill the email field in login or sign up or form.
Set the default value via MtLinkSdk.init
OptionalemailOptionalisCall method and open/render in a new browser tab. By default all views open in the same tab.
Set default value via MtLinkSdk.init
OptionallocaleForce Moneytree to load content in this specific locale.
A default value will be auto detected based on the user's language configuration and location if available. Check this spec for more information.
Currently supported values are:'en', 'en-AU', 'ja'.
Environment for the SDK to connect to, the SDK will connect to the Moneytree production server by default.
staging for development as develop may contain unstable features.local is only for SDK development by Moneytree engineers.OptionalredirectOAuth redirection URI, see here for more details.
Set the default value via MtLinkSdk.init
OptionalsamlSets the subject ID for SAML AuthnRequest.
OptionalscopesAccess scopes you're requesting. This can be a single scope, or an array of scopes.
Currently supported scopes are:
See the LINK Platform documentation for more details
'guest_read', or set via MtLinkSdk.init
OptionalsdkOptionalsdkOptionalshowIf you wish to disable the Login to Sign up form toggle button and vice-versa in the auth screen, set this to false.
Set default value via MtLinkSdk.init
OptionalshowIf you wish to disable the Stay logged in for 30 days checkbox in the login screen, set this to false.
Set default value via MtLinkSdk.init
OptionalstateThe state parameter for OAuth flows, see here for more details.
If you generate an identifier for the OAuth authorization on your server make sure to set this value explicitly so that you can use it to acquire the access token after the OAuth redirect occurs.
The default value is a randomly generated uuid, or set via MtLinkSdk.init
An optional affiliate code for attributing user referrals.
If not provided, no affiliate attribution will be applied.