WEPIN Developer Documentation
WepinBlogContact
English
English
  • Get Started
    • Introduction
  • Wepin
    • Features
    • Architecture
      • Key Generation
      • Signing
      • Key Backup
    • Workspace
      • App Registration and Key Issuance
      • Networks and Assets Addition
      • Widget Design
    • Supported blockchains
    • Account Abstraction
  • login
    • Overview
    • Social Login Auth Providers
      • Email/Password
      • Google
      • Apple
      • Discord
      • Naver
      • Facebook
      • Line
      • Kakao
    • User Interface
    • Simplified Login
    • Resource
  • Widget Integration
    • Prerequisites
    • Web: JavaScript SDK
      • Login Library
        • Installation
        • Initialization
        • Methods
      • PIN Pad Library
        • Installation
        • Initialization
        • Methods
      • Widget
        • Installation
        • Initialization
        • Methods
        • Final Review
      • Provider
        • Ethereum Provider
        • Kaia Provider
        • Solana Provider
        • Wagmi Connector
      • Wallet Adapter
        • Solana Wallet Adapter
    • Android: Java & Kotlin SDK
      • Login Library
        • Installation
        • Initialization
        • Methods
      • PIN Pad Library
        • Installation
        • Initialization
        • Methods
      • Widget Library
        • Installation
        • Initialization
        • Methods
    • iOS: Swift SDK
      • Login Library
        • Installation
        • Initialization
        • Methods
      • PIN Pad Library
        • Installation
        • Initialization
        • Methods
      • Widget Library
        • installation
        • initialization
        • Methods
    • Flutter SDK
      • Login Library
        • Installation
        • Initialization
        • Methods
      • Widget
        • Installation
        • Initialization
        • Methods
        • Final Review
      • PIN Pad Library
        • Installation
        • Initialization
        • Methods
    • React Native SDK
      • Login Library
        • Installation
        • Initialization
        • Methods
    • Unity SDK
      • Installation
      • Initialization
      • Methods
      • Final Review
    • Compose Multiplatform SDK
      • Login Library
        • Installation
        • Initialization
        • Methods
      • Widget
        • Installation
        • Initialization
        • Methods
        • Final Review
  • API
    • Overview
    • Registration
    • Login
    • Wallet
    • Token and NFT
    • Transaction
  • Deprecated
    • Web: JavaScript SDK
      • SDK
        • Installation
        • Initialization
        • Methods
        • Final Review
      • Provider
        • EVM-Compatible Networks
      • Wagmi Connector
    • Android: Java & Kotlin SDK
      • Installation
      • Initialization
      • Methods
      • Final Review
    • iOS: Swift SDK
      • Installation
      • Initialization
      • Methods
      • Final Review
    • Flutter SDK
      • Installation
      • Initialization
      • Methods
      • Final Review
    • React Native SDK
      • Installation
      • Initialization
      • Methods
      • Final Review
      • Providers
        • Ethereum Providers
  • MISC
    • Logo & Brand
Powered by GitBook
On this page
  • Setting Up ID Token Login
  • Setting Up Access Token Login

Was this helpful?

  1. login

Simplified Login

PreviousUser InterfaceNextResource

Last updated 7 months ago

Was this helpful?

When integrating Wepin into your app service, you can enhance the user experience by implementing Simplified Login. Simplified Login allows users to log into both the app and the Wepin wallet with a single login. This approach improves UX by simplifying the process, reducing the need for multiple logins, and minimizing user drop-off.

Wepin supports two login methods using ID Token and Access Token. Depending on the method, different social login providers can be used, and the token type used varies by the social login provider, as outlined below.

Token Type
Social Login Auth Provider

ID Token

Google, Apple, Line, Kakao

Access Token

Discord, Naver, Facebook

Setting Up ID Token Login

An ID Token is a token containing authentication information about the user, primarily issued by OAuth providers that follow the OIDC (OpenID Connect) standard. In Wepin, you can implement Simplified Login using ID Tokens issued by OIDC-based login providers.

  • Use the loginWithIdToken method to pass the ID Token issued by the OAuth Provider to Firebase and complete the authentication.

  • Afterward, use the loginWepin method to log in to Wepin using the Firebase Token.

Setting Up Access Token Login

An Access Token is a token that provides authentication, access, and modification rights for a user, and is used by most OAuth providers. In Wepin, you can implement Simplified Login using the Access Token provided by the OAuth provider.

  • Use the loginWithAccessToken method to pass the Access Token issued by the OAuth Provider to Firebase and complete the authentication.

  • Afterward, use the loginWepin method to log in to Wepin using the Firebase Token.

You can find information on login-related methods for each SDK on the resources page.

Resource