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
  • Report Builder
  • App Onboarding
  • Communication Apps
Storefront
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Ecommerce Events
  • Component Bundle
  • 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
  • Report Builder
  • App Onboarding
  • Communication Apps
Storefront
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Ecommerce Events
  • Component Bundle
  • 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
  • Nav Module
    • Create Navbar Action
    • Listen for Nav Actions
    • Clearing Nav Actions
  • UI Module
    • Confirm Dialogs
    • Toast Notifications
    • Loading States
  • Checkout Module
    • Create Checkout
    • Subscribe for Payment Result
    • Get App Add-ons
  • Endpoints
    • Token Introspect
  • Resources
    • Support
  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 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-12 08:53:55
Previous
Get Token
Next
Refresh Token