diff --git a/.devcontainer/oidc-settings/config.json b/.devcontainer/oidc-settings/config.json deleted file mode 100644 index 38cffb1a..00000000 --- a/.devcontainer/oidc-settings/config.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "idp_name": "http://localhost", - "port": 9000, - "client_config": [ - { - "client_id": "events-dev", - "client_secret": "events-dev-secret", - "redirect_uris": [ - "http://localhost:8080/events/login/oauth2/code/wisvchconnect" - ] - } - ], - "claim_mapping": { - "auth": [ "google_username", "google_groups"], - "email": [ "email" ], - "openid": [ "sub" , "id"], - "profile": [ "name" ] - } - } \ No newline at end of file diff --git a/.devcontainer/oidc-settings/openid.json b/.devcontainer/oidc-settings/openid.json deleted file mode 100644 index 0a1cc157..00000000 --- a/.devcontainer/oidc-settings/openid.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "ClientId": "implicit-mock-client", - "Description": "Client for implicit flow", - "AllowedGrantTypes": ["implicit"], - "AllowAccessTokensViaBrowser": true, - "RedirectUris": ["http://localhost:8080/events/login/oauth2/code/wisvchconnect"], - "AllowedScopes": ["openid", "profile", "email", "auth"], - "IdentityTokenLifetime": 3600, - "AccessTokenLifetime": 3600 - }, - { - "ClientId": "client-credentials-mock-client", - "ClientSecrets": ["client-credentials-mock-client-secret"], - "Description": "Client for client credentials flow", - "AllowedGrantTypes": ["client_credentials"], - "AllowedScopes": ["events"], - "ClientClaimsPrefix": "", - "Claims": [ - { - "Type": "string_claim", - "Value": "string_claim_value", - "ValueType": "string" - }, - { - "Type": "json_claim", - "Value": "[\"value1\", \"value2\"]", - "ValueType": "json" - } - ] - } - ] \ No newline at end of file diff --git a/.devcontainer/oidc-settings/users.json b/.devcontainer/oidc-settings/users.json deleted file mode 100644 index 02216c9e..00000000 --- a/.devcontainer/oidc-settings/users.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "id": "NORMAL_USER", - "sub": "WISVCH.404", - "email": "usert@test.wisv.ch", - "name": "User Test", - "google_username": "usert", - "google_groups": [] - }, - { - "id": "ADMIN_USER", - "sub": "WISVCH.405", - "email": "usera@test.wisv.ch", - "name": "User Admin", - "google_username": "usera", - "google_groups": ["beheer"] - } - ] \ No newline at end of file