With Logaflow’s SSO Auth Token, you can authenticate your users logged into your application to identify them on the Logaflow dashboard.
This step is optional, but we recommend implementing it to better manage each user’s feedback. Since they are already authenticated, users with SSO Token will not see the Name and Email fields when opening the Logaflow widget.
To authenticate your user in the widget, you need to pass the generated token to the Logaflow widget:
Copy
<!DOCTYPE html><html lang="en"><head> ... <!-- Logaflow widget script --> <script type="module" crossorigin="true" async src="https://widget.logaflow.com/addons/logaflow-widget.umd.js?version=1.0.3" ></script></head><body> <!-- Add Logaflow widget web component to the top of your --> <logaflow-widget project-key="YOUR_LOGAFLOW_PROJECT_TOKEN_HERE" trigger-text="Example" sso-token="USER_SSO_TOKEN" <!-- Pass user SSO Token here --> ></logaflow-widget> ...</body></html>
3
All set!
After these steps, your user will be authenticated and you will be able to identify them in the feedback sent by them on the feedback details page: