<form id="launch" method="POST" action="https://sandbox.etherfuse.com/auth/launch">
<input type="hidden" name="grant_type" value="urn:ietf:params:oauth:grant-type:jwt-bearer" />
<input type="hidden" name="assertion" value="<your_signed_jwt>" />
<input type="hidden" name="target" value="/kyb" />
</form>
<script>document.getElementById("launch").submit()</script>
<iframe name="etherfuse"></iframe>
<!-- target the iframe so the launch loads inside it -->
<form method="POST" action="https://sandbox.etherfuse.com/auth/launch" target="etherfuse">
<input type="hidden" name="grant_type" value="urn:ietf:params:oauth:grant-type:jwt-bearer" />
<input type="hidden" name="assertion" value="<your_signed_jwt>" />
<input type="hidden" name="target" value="/kyb" />
</form>
<script>document.forms[0].submit()</script>
Launch a user into the app
⚠️ Different host. Unlike every other endpoint in this reference,
/auth/launchlives on the app host (app.etherfuse.comorsandbox.etherfuse.com), not the API host (api.etherfuse.com). It is a browser page, not a JSON API.
Sends one of your users into the Etherfuse app, signed in. Use it for browser flows, such as sending a user into KYB. Your server renders an HTML form that posts to this URL. We sign the user in and send the browser to target. To embed the flow in an iframe or popup instead, use the postMessage variant.
Targets
User Launch Flows lists the target and scope for every flow you can launch a user into, and what to know about each. target must be one of those paths, optionally with a query string such as ?org=<org_id>. We reject any other path with invalid_request, and its error_uri ends in #invalid-target.
We strongly recommend a UUID for the JWT’s sub, for the person signing in. See Sign a user JWT for how sub relates to an individual’s organization id and a business member’s memberId. Its scope follows the same rules as /auth/token. This endpoint takes no API key. The JWT or refresh token is the credential.
<form id="launch" method="POST" action="https://sandbox.etherfuse.com/auth/launch">
<input type="hidden" name="grant_type" value="urn:ietf:params:oauth:grant-type:jwt-bearer" />
<input type="hidden" name="assertion" value="<your_signed_jwt>" />
<input type="hidden" name="target" value="/kyb" />
</form>
<script>document.getElementById("launch").submit()</script>
<iframe name="etherfuse"></iframe>
<!-- target the iframe so the launch loads inside it -->
<form method="POST" action="https://sandbox.etherfuse.com/auth/launch" target="etherfuse">
<input type="hidden" name="grant_type" value="urn:ietf:params:oauth:grant-type:jwt-bearer" />
<input type="hidden" name="assertion" value="<your_signed_jwt>" />
<input type="hidden" name="target" value="/kyb" />
</form>
<script>document.forms[0].submit()</script>
<form id="launch" method="POST" action="https://sandbox.etherfuse.com/auth/launch">
<input type="hidden" name="grant_type" value="urn:ietf:params:oauth:grant-type:jwt-bearer" />
<input type="hidden" name="assertion" value="<your_signed_jwt>" />
<input type="hidden" name="target" value="/kyb" />
</form>
<script>document.getElementById("launch").submit()</script>
<iframe name="etherfuse"></iframe>
<!-- target the iframe so the launch loads inside it -->
<form method="POST" action="https://sandbox.etherfuse.com/auth/launch" target="etherfuse">
<input type="hidden" name="grant_type" value="urn:ietf:params:oauth:grant-type:jwt-bearer" />
<input type="hidden" name="assertion" value="<your_signed_jwt>" />
<input type="hidden" name="target" value="/kyb" />
</form>
<script>document.forms[0].submit()</script>
Body
We send the person to this app path after they sign in. It must be one of the allowed targets in User Launch Flows. We reject any other path.
"/kyb"
Response
We send the browser to the app, which opens target. When the launch fails, the app shows the user an error page instead.