Developer Documentation
DAR Open Network
  • Overview
  • DAR ID
    • Introduction
    • Client ID Registration
    • Authentication
      • 1. Request DAR ID Identity
      • 2. Exchange Code for Access Token
      • 3. Refresh Access Token
      • 4. Get Access Token Details
      • 5. Get User DAR ID Information
    • Security Best Practices
  • DeAI
    • Multi-Agent Framework
      • Development Guide
      • Agent Options
      • Endpoints Overview
    • aiNFT Framework
      • Overview
      • Chat with an NFT Agent
      • Generate a Story for an NFT Agent
      • Group Chat Between Multiple NFT Agents
    • Game Asset Generator
Powered by GitBook
On this page
  • Authentication Flow
  • Environment Configuration
  1. DAR ID

Authentication

Authentication Flow

  1. Redirect users to request their DAR ID identity

  2. Users are redirected back to your site

  3. Exchange the code for an access token

  4. Refresh the access token when needed

  5. Use the access token to access user information

Environment Configuration

FRONTEND_URL

  • Prod: https://app.dalarnia.com/login/

  • Dev: https://app-testnet.dalarnia.com/login/

AUTH_DOMAIN

  • Prod & Dev: https://testauth.dalarnia.com/

This is the domain used for all OAuth2 authentication-related endpoints, including authorization, token exchange, and user information retrieval.

PreviousClient ID RegistrationNext1. Request DAR ID Identity

Last updated 2 months ago