Skip to main content
Method offers a variety of libraries for your frontend application to make integrating with Opal easy and simple.

Frontend Libraries

Depending on your application, Method offers multiple frontend libraries to help you integrate with Opal: All Opal SDKs provide:
  • Token Management: Automatic token validation and refresh
  • Event Handling: Comprehensive event system with typed callbacks
  • Error Management: Enhanced error handling with detailed error codes
  • Security: Built-in security features and validation

Installation

  • JavaScript
  • React
  • React Native
<script src="https://static.methodfi.com/opal/v1/stable/init.js"></script>
Notes:
  • Event types follow the format <flow>.<object>.<action> or opal.session.<action> for defaults
  • See Events for structure and sample payloads
I