Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

使用 OIDC 协议登录失败?

Open
#403 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
swift

Research direction

Start by reproducing the two reported flows using AuthFlow().start and the .EOIDC authProtocol setting. Compare the successful hosted-page login with the OIDC failure, then check the hosted-page verification-code countdown behavior; done means both flows work and the countdown is visibly rendered.

Written by the indexing model from the issue text.

Description

使用托管页的情况下正常不声明使用OIDC 协议
import Guard AuthFlow().start { [weak self] code, message, userInfo in if code == 200 { // userInfo 为用户信息 } }
登录成功
但如果使用了OIDC 协议会失败
import Guard let flow = AuthFlow() flow.authProtocol = .EOIDC flow.start() { [weak self] code, message, userInfo in if code == 200 { // userInfo 为用户信息 } }

Image

且托管页获取验证码后,获取验证码按钮的倒计时无法看件显示空白

Dominant language
JavaScript
Stars
34
Forks
102
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Authing/docs

All issues in Authing/docs

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.