Skip to content

Commit

Permalink
Change from work notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
-veldrane committed Mar 4, 2021
1 parent e2570e6 commit 2a50612
Show file tree
Hide file tree
Showing 9 changed files with 120 additions and 3 deletions.
113 changes: 113 additions & 0 deletions 05_k8s/openid/debug.out

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 05_k8s/openid/gettoken.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export TOKEN=$(curl -X POST "$KEYCLOAK_URL" "$INSECURE" \
-d 'grant_type=password' \
-d "client_id=$CLIENT_ID" \
-d "client_secret=$CLIENT_SECRET" \
-d "scope=groups openid" -v )
-d "scope=openid" -v )

echo $TOKEN

Expand Down
1 change: 1 addition & 0 deletions 05_k8s/openid/out.lst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJrT0FBUDByODd4SWxHcmFXZXNRaWYzcVRCSVpyR1p4X295TmhEOTZQX3ZvIn0.eyJleHAiOjE2MTM2NDk4MzUsImlhdCI6MTYxMzY0OTUzNSwiYXV0aF90aW1lIjowLCJqdGkiOiI0MzRmZTQxYy0xYWU2LTQwZTYtYWJkNi1hYjFkZjU5OWM5MzEiLCJpc3MiOiJodHRwczovLzEwLjE1MC4xNTIuMTU6ODQ0My9hdXRoL3JlYWxtcy9mZWdzdGciLCJhdWQiOiJrdWJlIiwic3ViIjoiNGM2MWI5NmUtZjYwZS00NTlhLWIyOWUtNjA5NjNkNmY3ZmFkIiwidHlwIjoiSUQiLCJhenAiOiJrdWJlIiwic2Vzc2lvbl9zdGF0ZSI6ImU2YzhlYjAwLTIwMTgtNGM1Ny1iMWQxLWI2NzkxZDM0MDdiMCIsImF0X2hhc2giOiJ1WElGSnpDSjF4bDhrUW05S1Vrd0RRIiwiYWNyIjoiMSJ9.gh3MCY1E6mCRbvM07daSdCJXafsKDKF18tmaM24BRnnndNGO-z0QnpUsRETbab923Fdi8GEeRjCkzbvWXRH7XbREbSwXEuIFcWIztW3--zqrTyhwM4ZllPOHjZZ6Q9d0X7FHSiVOpNqFV29pgipTiQ7IazxD71MMC4QdyY-YuR5IkIepXFx39ndXYAI0sVfA6IIgyKJ76nJAZ54rr5JxCtpKBQWAiaBKYEoA1dR3uazx7w2rJHOJTWBLHHLEhIkKDs8kkx-us6P0bdis0wq8S5RdTMdcvvrzoLNPrbyyhvusbBJFjeuRlWLKc-grLUOli2rYA1DRAcIDc-yk_ZKPJA
1 change: 1 addition & 0 deletions 05_k8s/openid/token.out
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"access_token":"eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJrT0FBUDByODd4SWxHcmFXZXNRaWYzcVRCSVpyR1p4X295TmhEOTZQX3ZvIn0.eyJleHAiOjE2MTM2NDk1NDcsImlhdCI6MTYxMzY0OTI0NywianRpIjoiMDI5Yzc5MWEtZmQxOS00YWVlLTkxNzItMTE4ZDhmMzI3MDU1IiwiaXNzIjoiaHR0cHM6Ly8xMC4xNTAuMTUyLjE1Ojg0NDMvYXV0aC9yZWFsbXMvZmVnc3RnIiwiYXVkIjoiYWNjb3VudCIsInN1YiI6IjRjNjFiOTZlLWY2MGUtNDU5YS1iMjllLTYwOTYzZDZmN2ZhZCIsInR5cCI6IkJlYXJlciIsImF6cCI6Imt1YmUiLCJzZXNzaW9uX3N0YXRlIjoiMmUxODFmMDAtZWJlOS00ZjAyLTgxMWYtODNiNzMyZjAyNjFjIiwiYWNyIjoiMSIsInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJvZmZsaW5lX2FjY2VzcyIsInVtYV9hdXRob3JpemF0aW9uIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2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LCIvb2NwX2NmbWVfYWRtaW5zIl0sInByZWZlcnJlZF91c2VybmFtZSI6ImR2b2phbjIiLCJnaXZlbl9uYW1lIjoiSmFuIiwiZmFtaWx5X25hbWUiOiJEdm_FmcOhayIsImVtYWlsIjoiZHZvcmFrLmphbjJAaWZvcnR1bmEuY3oifQ.KZKODC1VobNkBfMgTc3KdtlbBQvWdR3JQHtVlO-UCmGcQvhry1y4fkqaYAajI6IQHBUbphdlqw_GONnzj2Em1tueEHwXDPzem0I2cVwkXf0cjY921t-eT-b_xBIYDA2C7i1eD0N28zkOviQQx6rLhcxSzwBbJgye8qOnQiJ8hsWemL4wy_EeKZ74qE7sIJaAmFkpqN5QG9hvVBunJ3WYMYF8T4t7kAzNdcOgZQuyiONQqAOT0L8yNwzWh9xhkwpoaoS7OV7kfveMkbktUE4KD_krnqkCuoHSFU8UGoBLRh2H-7CnYVtn_WcKQ6D6b4QgjQAAuORLUEB3jMFW7PfbIQ","not-before-policy":0,"session_state":"2e181f00-ebe9-4f02-811f-83b732f0261c","scope":"openid profile email"}
4 changes: 2 additions & 2 deletions 08_keycloak/unsorted/scripts/gettoken.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ USERNAME=$3
CLIENT_ID=$4
CLIENT_SECRET=$5
SECURE=$6
PASSWORD=Heslo1234
PASSWORD=Houston1



Expand Down Expand Up @@ -53,7 +53,7 @@ export TOKEN=$(curl -X POST "$KEYCLOAK_URL" "$INSECURE" \
-d 'grant_type=password' \
-d "client_id=$CLIENT_ID" \
-d "client_secret=$CLIENT_SECRET" \
-d "scope=groups openid" 2>/dev/null )
-d "scope=openid" 2>/dev/null )

echo $TOKEN

Expand Down
1 change: 1 addition & 0 deletions 08_keycloak/unsorted/scripts/out.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"issuer":"https://keycloak-keycloak-shared.t1czos.ifortuna.cz/auth/realms/kasarealm","authorization_endpoint":"https://keycloak-keycloak-shared.t1czos.ifortuna.cz/auth/realms/kasarealm/protocol/openid-connect/auth","token_endpoint":"https://keycloak-keycloak-shared.t1czos.ifortuna.cz/auth/realms/kasarealm/protocol/openid-connect/token","introspection_endpoint":"https://keycloak-keycloak-shared.t1czos.ifortuna.cz/auth/realms/kasarealm/protocol/openid-connect/token/introspect","userinfo_endpoint":"https://keycloak-keycloak-shared.t1czos.ifortuna.cz/auth/realms/kasarealm/protocol/openid-connect/userinfo","end_session_endpoint":"https://keycloak-keycloak-shared.t1czos.ifortuna.cz/auth/realms/kasarealm/protocol/openid-connect/logout","jwks_uri":"https://keycloak-keycloak-shared.t1czos.ifortuna.cz/auth/realms/kasarealm/protocol/openid-connect/certs","check_session_iframe":"https://keycloak-keycloak-shared.t1czos.ifortuna.cz/auth/realms/kasarealm/protocol/openid-connect/login-status-iframe.html","grant_types_supported":["authorization_code","implicit","refresh_token","password","client_credentials"],"response_types_supported":["code","none","id_token","token","id_token token","code id_token","code token","code id_token token"],"subject_types_supported":["public","pairwise"],"id_token_signing_alg_values_supported":["PS384","ES384","RS384","HS256","HS512","ES256","RS256","HS384","ES512","PS256","PS512","RS512"],"id_token_encryption_alg_values_supported":["RSA-OAEP","RSA1_5"],"id_token_encryption_enc_values_supported":["A256GCM","A192GCM","A128GCM","A128CBC-HS256","A192CBC-HS384","A256CBC-HS512"],"userinfo_signing_alg_values_supported":["PS384","ES384","RS384","HS256","HS512","ES256","RS256","HS384","ES512","PS256","PS512","RS512","none"],"request_object_signing_alg_values_supported":["PS384","ES384","RS384","HS256","HS512","ES256","RS256","HS384","ES512","PS256","PS512","RS512","none"],"response_modes_supported":["query","fragment","form_post"],"registration_endpoint":"https://keycloak-keycloak-shared.t1czos.ifortuna.cz/auth/realms/kasarealm/clients-registrations/openid-connect","token_endpoint_auth_methods_supported":["private_key_jwt","client_secret_basic","client_secret_post","tls_client_auth","client_secret_jwt"],"token_endpoint_auth_signing_alg_values_supported":["PS384","ES384","RS384","HS256","HS512","ES256","RS256","HS384","ES512","PS256","PS512","RS512"],"claims_supported":["aud","sub","iss","auth_time","name","given_name","family_name","preferred_username","email","acr"],"claim_types_supported":["normal"],"claims_parameter_supported":false,"scopes_supported":["openid","feg.kasa","groups","microprofile-jwt","web-origins","roles","phone","address","email","profile","offline_access"],"request_parameter_supported":true,"request_uri_parameter_supported":true,"code_challenge_methods_supported":["plain","S256"],"tls_client_certificate_bound_access_tokens":true}
Empty file.
1 change: 1 addition & 0 deletions 99_general/.~lock.uidplan.ods#
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
,veldrane,czlx-dvojan2,16.02.2021 14:16,file:///home/veldrane/.config/libreoffice/4;
Binary file added 99_general/uidplan.ods
Binary file not shown.

0 comments on commit 2a50612

Please sign in to comment.