---
title: "get login method config"
method: GET
path: "/open/system/login_method"
tags: ["system"]
---

# get login method config

`GET /open/system/login_method`

## Response `200`

OK

- object
  - `data` ModelLoginMethod
    - `cas` ModelCASConfig
      - `mapping` object — 角色和 cas 服务关系映射
      - `role_key` string — 获取 角色 的 key
      - `url` string — cas 服务地址
      - `version` integer — cas 版本
    - `oauth` ModelOauthConfig
      - `client_id` string — 客户端 ID
      - `client_secret` string — 客户端密钥
      - `mapping` object — 角色和 cas 服务关系映射
      - `role_key` string — 获取 角色 的 key
      - `scope` string — 作用域
      - `url` string — oauth 服务地址
    - `type` integer, required
  - `err` string
  - `msg` string

## Changes

- **2026-04-01** `de6007edcff9` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/chaitin/apis/mgt-api/changes/open/system/login_method/get.md)

---

[API](https://skmtc.dev/chaitin/apis/mgt-api.md) · [All operations](https://skmtc.dev/chaitin/apis/mgt-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chaitin/mgt-api/revisions/de6007edcff9/schema)
