Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.
This repository was archived by the owner on May 5, 2025. It is now read-only.

TypeError: auth.signInWithTicket is not a function #33

@yi

Description

@yi

业务目标

实现 腾讯云 Cloudbase 的 授权登录 的 自定义登录

进度状态

  • 完成服务器端获取 tick
  • 添加了域名白名单 localhost
  • 在本地开发测试
  • '@cloudbase/js-sdk' 是以CDN方式载入版本 cloudbase.full.1.7.1.js

遇到问题

在客户端页面中 使用 '@cloudbase/js-sdk' 尝试登录时报错, Uncaught (in promise) TypeError: auth.signInWithTicket is not a function

console 打印 客户端的 auth 实例发现该实例上没有 signInWithTicket 方法

是哪里没有弄对吗?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions