Skip to content

fix: 修复 auth token 响应处理#198

Merged
foxzool merged 1 commit into
mainfrom
codex/fix-auth-token-responses
Jun 12, 2026
Merged

fix: 修复 auth token 响应处理#198
foxzool merged 1 commit into
mainfrom
codex/fix-auth-token-responses

Conversation

@foxzool

@foxzool foxzool commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • align auth v3 token and app_ticket endpoints with official flattened response bodies
  • preserve authen v1 user_info compatibility while sending the user access token through explicit Authorization headers
  • avoid logging raw flattened token response bodies and ignore .omo/ work files
  • update auth examples, README snippets, and token provider coverage

Validation

  • cargo test -p openlark-auth --lib
  • cargo test -p openlark-core --lib
  • cargo check -p openlark-auth --examples
  • cargo fmt --all -- --check
  • cargo clippy -p openlark-auth -p openlark-core --all-targets -- -D warnings
  • git diff --check

Fixes #196

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e9682ced35

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/openlark-auth/src/token_provider/tests.rs
@foxzool foxzool merged commit ad28f2d into main Jun 12, 2026
120 checks passed
@foxzool foxzool deleted the codex/fix-auth-token-responses branch June 12, 2026 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

authen_service的oidc以及正常的获取access_token的方法错误

1 participant