larksuite / larksuite/oapi-sdk-java
AuthService中的所有api都无法使用
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 310
- Forks
- 115
- PR merge metrics
- No merged PRs in 30d
Description
在发送请求的时候accessTokenTypeSet参数默认为empty set,导致在send函数中determineTokenType方法会因为验证不了token类型抛出IllegalAccessTokenTypeException
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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