View | Details | Raw Unified | Return to bug 40596
Collapse All | Expand All

(-)a/api/v1/swagger/definitions/identity_provider.yaml (+1 lines)
Lines 15-20 properties: Link Here
15
    description: Authentication protocol
15
    description: Authentication protocol
16
    type: string
16
    type: string
17
    enum:
17
    enum:
18
      - CAS
18
      - OAuth
19
      - OAuth
19
      - OIDC
20
      - OIDC
20
      - SAML2
21
      - SAML2
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/IdentityProviders/ProviderResource.vue (-1 / +26 lines)
Lines 11-16 import { APIClient } from "../../fetch/api-client.js"; Link Here
11
import { $__ } from "@koha-vue/i18n";
11
import { $__ } from "@koha-vue/i18n";
12
12
13
const PROTOCOL_CONFIG_FIELDS = {
13
const PROTOCOL_CONFIG_FIELDS = {
14
    CAS: [
15
        {
16
            name: "server_url",
17
            label: __("CAS server URL"),
18
            required: true,
19
            type: "text",
20
            group: "CAS settings",
21
            toolTip: __(
22
                "Base URL of the CAS server, e.g. https://cas.example.org/cas"
23
            ),
24
        },
25
        {
26
            name: "version",
27
            label: __("CAS protocol version"),
28
            required: false,
29
            type: "select",
30
            group: "CAS settings",
31
            options: [
32
                { value: "2", label: "CAS 2 or earlier" },
33
                { value: "3", label: "CAS 3 or later" },
34
            ],
35
            requiredKey: "value",
36
            selectLabel: "label",
37
        },
38
    ],
14
    OAuth: [
39
    OAuth: [
15
        {
40
        {
16
            name: "key",
41
            name: "key",
Lines 152-157 export default { Link Here
152
                label: __("Protocol"),
177
                label: __("Protocol"),
153
                group: "Basic configuration",
178
                group: "Basic configuration",
154
                options: [
179
                options: [
180
                    { value: "CAS", label: "CAS" },
155
                    { value: "OAuth", label: "OAuth" },
181
                    { value: "OAuth", label: "OAuth" },
156
                    { value: "OIDC", label: "OIDC" },
182
                    { value: "OIDC", label: "OIDC" },
157
                    { value: "SAML2", label: "SAML2 / Shibboleth" },
183
                    { value: "SAML2", label: "SAML2 / Shibboleth" },
158
- 

Return to bug 40596