Salla Docs
Merchant
Merchant
  • Merchant API
  • Salla OAuth 2.0
  • Merchant Dashboard
Partner APIs
Partner APIs
  • App API
  • Shipments & Fulfillment APIs
  • Salla AWB
  • Recurring Payments API
  • App Functions
  • Billing System Salla partners
Storefront
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Ecommerce Events
  • Change Log
Salla CLI
Merchant
Merchant
  • Merchant API
  • Salla OAuth 2.0
  • Merchant Dashboard
Partner APIs
Partner APIs
  • App API
  • Shipments & Fulfillment APIs
  • Salla AWB
  • Recurring Payments API
  • App Functions
  • Billing System Salla partners
Storefront
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Ecommerce Events
  • Change Log
Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Auth Module
  • Embedded SDK
    • Overview
    • Getting Started
    • Installation
    • Authentication
    • App Design Guidelines
    • Create an Embedded App
    • Playground
  • Auth Module
    • Get Token
    • Client Introspect
    • Refresh Token
  • Page Module
    • Iframe Resizing
    • External Redirects
    • Navigation
    • Set Page Title
    • UI Module
      • Confirm Dialogs
      • Toast Notifications
      • Loading States
  • Nav Module
    • Create Navbar Action
    • Listen for Nav Actions
    • Clearing Nav Actions
  • Endpoints
    • Token Introspect
      POST
  • Resources
    • Support
Merchant
Merchant
  • Merchant API
  • Salla OAuth 2.0
  • Merchant Dashboard
Partner APIs
Partner APIs
  • App API
  • Shipments & Fulfillment APIs
  • Salla AWB
  • Recurring Payments API
  • App Functions
  • Billing System Salla partners
Storefront
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Ecommerce Events
  • Change Log
Salla CLI
Merchant
Merchant
  • Merchant API
  • Salla OAuth 2.0
  • Merchant Dashboard
Partner APIs
Partner APIs
  • App API
  • Shipments & Fulfillment APIs
  • Salla AWB
  • Recurring Payments API
  • App Functions
  • Billing System Salla partners
Storefront
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Ecommerce Events
  • Change Log
Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Auth Module

Client Introspect

The introspect method is a frontend helper that allows you to authorize the short-lived token from the client-side via the introspect API to inspect the details of an embedded page token. This is primarily intended for local development and debugging.
Important Note
This method is implemented as a reference for API calls and introspection flow. This should not be used as a primary authentication method.

Usage#

API Reference#

embedded.auth.introspect(options?)#

ParameterTypeRequiredDescription
optionsIntrospectOptionsNoConfiguration for the introspection request.

IntrospectOptions#

PropertyTypeDefaultDescription
appIdstringURL paramYour App ID. Auto-extracted if omitted.
tokenstringURL paramThe token to verify. Auto-extracted if omitted.
refreshOnErrorbooleantrueAuto-refresh iframe if the token is invalid.

Return Value#

Resolves to an IntrospectResponse object:
PropertyTypeDescription
isVerifiedbooleantrue if Salla API confirms the token is valid.
isErrorbooleantrue if the API request failed.
dataobjectContains merchant_id, user_id, and exp (expiration).

Security#

Security Concern
Do NOT use frontend introspection to make final authentication decisions. Always verify the token on your backend using the Salla Introspection API for production apps.
Modified at 2026-02-02 10:34:37
Previous
Get Token
Next
Refresh Token