1. FireAPI App/Tool - SSO Integration Examples (Common Languages)
FireAPI
  • Getting Started
    • Welcome to FireAPI.io
    • What is API Hub & App/Tool
    • Publish App/Tool
    • Publish API
  • Marketplace Overview
    • Marketplace
    • FireAPI SSO Authentication
    • Subscription Handling
    • Sample Marketplace App/Tool
    • WebGuard Frontend Documentation
    • WebGuard Backend Documentation
    • FireAPI Tool Setup Guide
  • FireAPI App/Tool - SSO Integration Examples (Common Languages)
    • All Languages
    • CURL Example (Universal)
    • JavaScript (Node.js / Express)
    • PHP Example (Native PHP)
    • Laravel Example (Recommended for PHP Developers)
    • Python Example (Flask)
    • Python Example (FastAPI)
    • Java Example (Spring Boot)
    • Go Example (Golang)
    • Best Practice (All Languages)
  1. FireAPI App/Tool - SSO Integration Examples (Common Languages)

All Languages

FireAPI SSO Verify Flow (Multi-Language Examples)#

This page provides sample implementations of the FireAPI SSO Verify flow in multiple languages.
When FireAPI launches your tool, it redirects the user to your tool URL like:
https://yourtool.com/auth/sso?token=xxxxx
Your tool must:
Extract the token
Call FireAPI verify API
Create a local session
Allow access only if verified + subscribed

✅ FireAPI Verify Endpoint#

Request#

POST
https://api.fireapi.io/api/sso/verify

Body#

{
  "token": "YOUR_TOKEN"
}

Success Response Example#

{
  "success": true,
  "data": {
    "user": {
      "id": "123",
      "email": "user@email.com"
    },
    "tool": {
      "id": "tool_001",
      "name": "WebGuard"
    },
    "subscription": {
      "active": true,
      "plan": "PRO"
    }
  }
}
Modified at 2026-03-26 17:57:55
Previous
FireAPI Tool Setup Guide
Next
CURL Example (Universal)
Built with