larksuite / larksuite/oapi-sdk-java

AuthService中的所有api都无法使用

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

Nobody has claimed this yet.

Dominant language
Java
Stars
310
Forks
115
PR merge metrics
No merged PRs in 30d

Description

image 在发送请求的时候accessTokenTypeSet参数默认为empty set,导致在send函数中determineTokenType方法会因为验证不了token类型抛出IllegalAccessTokenTypeException

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 by tracing the AuthService request flow through send and determineTokenType, focusing on how accessTokenTypeSet is initialized. Reproduce the failure with an AuthService API request and confirm that the empty set leads to IllegalAccessTokenTypeException. Done when the affected APIs can send requests without that exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, authentication, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.