Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • H holdingk-saas-auth
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • tny-saas
  • holdingk-saas-auth
  • Merge requests
  • !61

Merged
Created Sep 18, 2026 by wangzp@wangzpOwner0 of 3 tasks completed0/3 tasks

[#feat] 增加账号密码+租户一步授权,并按编码精确查租户

  • Overview 0
  • Commits 1
  • Changes 20

Summary

  • auth-server 新增 account_password_tenant grant:用户名+密码+租户编码一步签发带 tid 的 JWT
  • 开放 Feign GET /api/v1/tenant/get_by_code,按编码精确查租户;各环境 whitelist 已补

测试

  • Converter / Provider 单测
  • TenantServiceGetByCodeTest
  • fabric 登录一步换令牌;刷卡走精确查租户

依赖

  • holdingk-saas-common feat/fabric-login-bearer 需先合入(GrantType 常量)
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: feat/fabric-login-bearer