|  |  |  | ## local debug settings | 
|  |  |  |  | 
|  |  |  | ``` | 
|  |  |  | options = { | 
|  |  |  | name: "openid_connect", | 
|  |  |  | display_name: "天华单点登录", | 
|  |  |  | scope: %i[openid email profile departments positions main_position], | 
|  |  |  | response_type: "code", | 
|  |  |  | uid_field: "email", | 
|  |  |  | host: "sso-id.com", | 
|  |  |  | identifier: "2RNTuN6ZADbHlD8Yhox2awaZUy0-RckCcByknP_9Uw4", | 
|  |  |  | secret: "p2JqkYWSAU3obaazRCm9c_XlqrmJG7yaIoRiM28XC34", | 
|  |  |  | issuer: "https://sso-id.com", | 
|  |  |  | client_auth_method: "query", | 
|  |  |  | discovery: true | 
|  |  |  | } | 
|  |  |  |  | 
|  |  |  | Setting.plugin_openproject_openid_connect = Hash({}).deep_merge({ | 
|  |  |  | "providers" => { | 
|  |  |  | "openid_connect" => options | 
|  |  |  | } | 
|  |  |  | }) | 
|  |  |  | ``` | 
|  |  |  |  | 
|  |  |  | ## Production settings | 
|  |  |  |  | 
|  | ```ruby |  | ```ruby | 
|  | options = { |  | options = { | 
|  | name: "openid_connect", |  | name: "openid_connect", | 
| ... |  | ... |  | 
| ... |  | ... |  |