Front-end Integration Overview
Last updated
Last updated
Authopia’s widget has few possible options to be displayed
Its UI and translations are configurable while integrating the widget if needed.
As a first step you’ll need to install the package via npm:
Next to integrate the widget you need to put this into your frontend code:
Load the widget component:
Embed the widget web component
If you want to bind to onSuccess event:
If your project uses typescript you can add global.d.ts
for better typing:
After a successful authentication flow an ID token is returned via onSuccess method