Cirrica Authentication

Login from External Project

Use this endpoint to authenticate users from another project:

/loginFromToken?token=YOUR_JWT_TOKEN

How it works:

  1. User clicks "Go to Dashboard" in your external project
  2. External project redirects to: /loginFromToken?token=JWT_TOKEN
  3. Token gets saved to localStorage as "cirricaToken"
  4. User gets redirected to the dashboard

Example Usage:

From your external project, redirect users to:

https://your-domain.com/loginFromToken?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...