Yurunsoft / Yurunsoft/YurunOAuthLogin

[QQ] getOpenID方法这里有个问题

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

Nobody has claimed this yet.

Dominant language
PHP
Stars
434
Forks
113
PR merge metrics
No merged PRs in 30d

Description

我这里通过getOpenID方法获取unionid,isUseUnionID设为true,openidMode设为2,请求接口oauth2.0/me使用参数unionid为2,但接口并不是每次返回都有unionid,如果改成unionid为1,自测每次都返回unionid

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start at the getOpenID method and trace the oauth2.0/me request when isUseUnionID is true. Compare the response behavior for openidMode 1 and 2, then verify the result against the reported unionid cases; done means the method handles the selected mode consistently when unionid is absent or present.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.