Authing DocsDocuments
Concept
workflow
Guides
Development Integration
Application integration
Concept
workflow
Guides
Development Integration
Application integration
Old Version
Development Integration
  • Single Sign-On (SSO)
  • Login component

  • JavaScript/Node.js

  • Java / Kotlin

  • Python

  • C#

  • PHP

  • Go

  • Ruby
  • Android

  • iOS

  • Flutter

  • React Native
  • WeChat Mini Program
  • WeChat webpage authorization
  • Framework Integration
  • Error code

¶ WebView

Update Time: 2026-03-25 09:13:34
Edit

Use Web 方式登录之前,确保完成了 开发准备

此功能要求 Guard 最低版本 1.2.8

¶ 修改启动代码

参考 快速开始

将

AuthFlow.start(this);

替换为

AuthFlow.startWeb(this);

即可

¶ 设置回调

和快速开始的方式完全一致

¶ 设置 Scope

如果需要自定义 Scope,请调用:

AuthFlow flow = AuthFlow.startWeb(this);
// scopes are divided by white space
flow.setScope("openid profile email phone");

Scope 参数定义请参考 这里 (opens new window)

¶ 跳过确权页面

当我们的 App 作为第一方应用提供给用户时,我们可以跳过确认授权页:

AuthFlow flow = AuthFlow.startWeb(this);
// By default, a consent page will be shown to user
// The following line will hide it
flow.setSkipConsent(true);
  • 修改启动代码
  • 设置回调
  • 设置 Scope
  • 跳过确权页面

User identity management

Integrated third-party login
Mobile phone number flash check (opens new window)
Universal login form component
Custom authentication process

Enterprise internal management

Single Sign On
Multi-factor Authentication
Authority Management

Developers

Development Document
Framework Integration
Blog (opens new window)
GitHub (opens new window)
Community User Center (opens new window)

Company

400 888 2106
sales@authing.cn
16 / F, Block B, NORTH STAR CENTURY CENTER, Beijing(Total)
room 406, 4th floor, zone B, building 1, No. 200, Tianfu Fifth Street, Chengdu(branch)

Beijing ICP No.19051205-1

© Beijing Steamory Technology Co.