OAuth2 Implicit Flow Sample

This is a demo on how to get a token using the implicit flow.

NOTE: This authentication flow should only be used if OAuth2 Code or PKCE flows are not an option for your application. Generally speaking this flow is only applicable for single-page applications (SPA) that need to connect to Saxo's OpenAPI without a back-end server.


(Find your App Key here)







Response:
Click button to launch function.

JS code:
Click button to show code.