1. Create a Member
To create an OAuth member, set the following:"is_oauth": true.client_redirect_urlin theoauthobject so we can send you UI messages with the right scheme. This can be any string; this guide useshttps://mx.com."referral_source": "APP"in theoauthobject tells MX to use your client_redirect_url to return users to your app.
id when creating any Platform API resource to simplify syncing between your systems and ours.
Endpoint: POST /users/{user_guid}/members
2. Load the OAuth URI
Load theoauth.authorization_url from the last step in an ASWebAuthenticationSession (iOS) or Auth Tab (Android).
Authorization URLs are one-time use. Don’t hard code an expected URI into your application. To get a new URL, use the create OAuth authorization URL endpoint (POST /users/{user_guid}/members/{member_guid}/oauth/authorization_url).
Don’t prepend https:// to the URI string; MX includes it.
Here, the user interacts with the institution’s OAuth page and chooses what data to share with MX and, therefore, with you. When finished, the user is redirected to your oauth.client_redirect_url. MX appends the success or error status and the member GUID to this URL.
Example client_redirect_url with Appended Information

