How can I get acces token and refresh token in keycloak? - spring-boot

Is there any way I can get contents of the post request for access tokens(http://localhost:8484/auth/realms/my_realm/protocol/openid-connect/token) and get both tokens on the screen in get request?

Well, there is no such api from Keycloak where you can get both access token and refresh token in a get request, it is possible only via the POST(api).
If your only intention is to view the token's for development then you can use chrome dev tools, or log them in your spring boot app.

If you POST get tokens (access and refresh) this command, you can get both tokens.
#1 curl demo
curl -v \
-d "client_id=admin-cli" \
-d "username=user" \
-d "password=1234" \
-d "grant_type=password" \
-X \
POST "http://localhost:8484/auth/realms/test/protocol/openid-connect/token" | jq
This is result
{
"access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJrTXNKN25mdUFpYWFBYXhZeFp2WXo3WWVFaVh6Nk5hZzV6LXMyazFreUpNIn0.eyJleHAiOjE2NjU2NTU1ODQsImlhdCI6MTY2NTY1NTI4NCwianRpIjoiZjQwYWJmMGMtZjA2OS00YWFiLTg3YWUtN2M0MDA5ZmY3ZDY1IiwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4NDg0L2F1dGgvcmVhbG1zL3Rlc3QiLCJzdWIiOiIzOTEyYzZkMC1mMjEwLTRiZWQtOGM1Ni03MDM2NGQyMjhhZGQiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJhZG1pbi1jbGkiLCJzZXNzaW9uX3N0YXRlIjoiZTNiOThiYTItYjYzNS00MWYxLTg0YTktZTk1YzZiZDZmM2E5Iiwic2NvcGUiOiJwcm9maWxlIGVtYWlsIiwic2lkIjoiZTNiOThiYTItYjYzNS00MWYxLTg0YTktZTk1YzZiZDZmM2E5IiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJ1c2VyIiwiZW1haWwiOiJ1c2VyQHRlc3QuY29tIn0.BzPrRNdgdyDgg7Y0BNNuAVDfC9NBOyo97JBpw-kfRr-NRPfcP27ch3FONC108v4GQqOLTLF0Z5y6SoQr2BcX9ZFqBm5d8_tSn2XSVSoxWh_ci91PYzfs4656_QLV2TBcTPrW69Z-5oCEUEGZjpKW2UsavEonwTlop80xoDVTpvfgfq-pv0gh8tX6260weynIxSALiy8srFs6ExHp8IGqp-bKNPXM35nM9BX9gPgKPrrbe-IenXO37ESazubqhdtznzcCEDFrTNnOKR87hiFcInx28o2sBMhcDiZxPbaIfNhCpENxnoeNPHFnVA6wayjaJSiBxKVO8EMVaOSlDTRS9w",
"expires_in": 300,
"refresh_expires_in": 1800,
"refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJhMTdkM2U5Yi1kMThlLTQyOGQtYTUxYS0xYzdiMzhkYTkxYjgifQ.eyJleHAiOjE2NjU2NTcwODQsImlhdCI6MTY2NTY1NTI4NCwianRpIjoiYjk1MTA1NGEtYjU5ZC00NjIxLWEwOGYtMDMxOWZkYjc1ZTA2IiwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4NDg0L2F1dGgvcmVhbG1zL3Rlc3QiLCJhdWQiOiJodHRwOi8vbG9jYWxob3N0Ojg0ODQvYXV0aC9yZWFsbXMvdGVzdCIsInN1YiI6IjM5MTJjNmQwLWYyMTAtNGJlZC04YzU2LTcwMzY0ZDIyOGFkZCIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJhZG1pbi1jbGkiLCJzZXNzaW9uX3N0YXRlIjoiZTNiOThiYTItYjYzNS00MWYxLTg0YTktZTk1YzZiZDZmM2E5Iiwic2NvcGUiOiJwcm9maWxlIGVtYWlsIiwic2lkIjoiZTNiOThiYTItYjYzNS00MWYxLTg0YTktZTk1YzZiZDZmM2E5In0.UDV1fBhW8I7E9IELNK7XOvpy-6FJ_Bdir1wujYNvK_U",
"token_type": "Bearer",
"not-before-policy": 0,
"session_state": "e3b98ba2-b635-41f1-84a9-e95c6bd6f3a9",
"scope": "profile email"
}
#2 You can see the content via jwt.io
copy from #1's token , paste to Encoded section
for access token content
{
"exp": 1665655584,
"iat": 1665655284,
"jti": "f40abf0c-f069-4aab-87ae-7c4009ff7d65",
"iss": "http://localhost:8484/auth/realms/test",
"sub": "3912c6d0-f210-4bed-8c56-70364d228add",
"typ": "Bearer",
"azp": "admin-cli",
"session_state": "e3b98ba2-b635-41f1-84a9-e95c6bd6f3a9",
"scope": "profile email",
"sid": "e3b98ba2-b635-41f1-84a9-e95c6bd6f3a9",
"email_verified": false,
"preferred_username": "user",
"email": "user#test.com"
}
for refresh token content
{
"exp": 1665657084,
"iat": 1665655284,
"jti": "b951054a-b59d-4621-a08f-0319fdb75e06",
"iss": "http://localhost:8484/auth/realms/test",
"aud": "http://localhost:8484/auth/realms/test",
"sub": "3912c6d0-f210-4bed-8c56-70364d228add",
"typ": "Refresh",
"azp": "admin-cli",
"session_state": "e3b98ba2-b635-41f1-84a9-e95c6bd6f3a9",
"scope": "profile email",
"sid": "e3b98ba2-b635-41f1-84a9-e95c6bd6f3a9"
}
Decoding JWT in bash command
ACCESS_TOKEN=$(curl --location --request POST "http://localhost:8484/auth/realms/test/protocol/openid-connect/token" \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'client_id=admin-cli' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'username=user' \
--data-urlencode 'password=1234' | jq -r '.access_token')
Confirm access token
echo $ACCESS_TOKEN
jwtd() {
if [[ -x $(command -v jq) ]]; then
jq -R 'split(".") | .[0],.[1] | #base64d | fromjson' <<< "${1}"
echo "Signature: $(echo "${1}" | awk -F'.' '{print $3}')"
fi
}
jwtd $ACCESS_TOKEN
result
{
"alg": "RS256",
"typ": "JWT",
"kid": "kMsJ7nfuAiaaAaxYxZvYz7YeEiXz6Nag5z-s2k1kyJM"
}
{
"exp": 1665656835,
"iat": 1665656535,
"jti": "6fdcd375-e721-4646-b725-4f5f23d8b103",
"iss": "http://localhost:8484/auth/realms/test",
"sub": "3912c6d0-f210-4bed-8c56-70364d228add",
"typ": "Bearer",
"azp": "admin-cli",
"session_state": "f0353bdd-0a08-49eb-bc2a-111ceb59dc56",
"scope": "profile email",
"sid": "f0353bdd-0a08-49eb-bc2a-111ceb59dc56",
"email_verified": false,
"preferred_username": "user",
"email": "user#test.com"
}
Same way to get refresh token
REFRESH_TOKEN=$(curl --location --request POST "http://localhost:8484/auth/realms/test/protocol/openid-connect/token" \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'client_id=admin-cli' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'username=user' \
--data-urlencode 'password=1234' | jq -r '.refresh_token')
jwtd $REFRESH_TOKEN
result
$ jwtd $REFRESH_TOKEN
{
"alg": "HS256",
"typ": "JWT",
"kid": "a17d3e9b-d18e-428d-a51a-1c7b38da91b8"
}
{
"exp": 1665658687,
"iat": 1665656887,
"jti": "287a7f90-1435-44e6-b8c8-417eda935382",
"iss": "http://localhost:8484/auth/realms/test",
"aud": "http://localhost:8484/auth/realms/test",
"sub": "3912c6d0-f210-4bed-8c56-70364d228add",
"typ": "Refresh",
"azp": "admin-cli",
"session_state": "4beb4f1d-fb56-42b6-99ea-d13281b8db3f",
"scope": "profile email",
"sid": "4beb4f1d-fb56-42b6-99ea-d13281b8db3f"
}
Signature: JAyDz4qS9Jvi4u8sHS68NPP8721MzlQXPXNaIgtD7v8

Related

How to get shell using curl post request in kubernetes?

I am creating a pod spec using json which when run will give me a shell on the underlying node as shown below.
overrides=$(cat <<EOF
{
"apiVersion": "v1",
"kind": "Pod",
"metadata": {
"name": "admin-shell"
},
"spec": {
"containers": [
{
"name": "admin-shell",
"securityContext": {
"privileged": true
},
"image": "alpine:latest",
"args": ["chroot", "/kdet", "/bin/bash"],
"stdin": true,
"stdinOnce": true,
"tty": true,
"volumeMounts": [{
"name": "kdet",
"mountPath": "/kdet"
}]
}],
"volumes": [{
"name": "kdet",
"hostPath": {
"path": "/",
"type": "Directory"
}
}]
}
}
EOF
)
kubectl run --image alpine:latest --rm --restart=Never --overrides="$foo" -ti test
If you don't see a command prompt, try pressing enter.
[root#admin-shell /]# exit
exit
pod "admin-shell" deleted
However, when I try to launch the pod using curl with the config saved in api.json, the pod is being created, however I don't get the shell as I got in the previous step.
>curl -k $APISERVER/api/v1/namespaces/default/pods \
-XPOST -H 'Content-Type: application/json' \
-d#api.json \
--header "Authorization: Bearer $TOKEN"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2900 0 2250 100 650 13005 3757 --:--:-- --:--:-- --:--:-- 16763
{
"phase": "Pending",
"qosClass": "BestEffort"
}
Can you please help me how can I get the shell using curl?

Ansible URI API (JSON-RPC)

I've a problem with URI module from ansible, maybe someone have an idea what the problem could be?
I try to communicate with I-Doit API (JSON-RPC) by using ansible uri module. My first attempt with curl works fine, whether I try to run curl manually or by using ansible.
# curl manual example
curl --location --request POST 'https://SERVER-FQDN/i-doit/src/jsonrpc.php' \
--header 'Content-Type: application/json' \
--header 'X-RPC-Auth-Session: SESSION-KEY' \
--header 'Cookie: PHPSESSID=SESSION-KEY' \
--data-raw '{
"version": "2.0",
"method": "idoit.version",
"params": {
"apikey": "API-KEY",
"language": "en"
},
"id": 1
}'
# example in ansible
---
- name: CURL REST / JSON-RPC API Call
shell: |
curl -s --noproxy "*" --location --request POST 'https://SERVER-FQDN/i-doit/src/jsonrpc.php' \
--header "Content-Type: application/json" \
--header "X-RPC-Auth-Session: {{ session_key }}" \
--header "Cookie: PHPSESSID= {{ session_key }}" \
--data-raw '{
"version": "2.0",
"method": "idoit.version",
"params": {
"apikey": "{{ api_key }}",
"language": "en"
},
"id": 1
}'
If I try to reproduce the call with the URI module like
- name: REST / JSON-RPC API Call check I-Doit Version
uri:
url: "https://SERVER-FQDN/i-doit/src/jsonrpc.php"
method: post
validate_certs: no
follow_redirects: all
use_proxy: no
timeout: 200
headers:
X-RPC-Auth-Session: "{{ SESSION-KEY }}"
Content-Type: "application/json"
body_format: json
return_content: yes
body: "{{ lookup('file','test.json') }}"
ignore_errors: yes
# test.json content
{
"version": "2.0",
"method": "idoit.version",
"params": {
"apikey": "API-KEY",
"language": "en"
},
"id": 1
}
the request failed with error code -1 and message: "Connection failure: connection was closed before a valid response was received: No status line received - the server has closed the connection"
Is there a difference in usage by URI modul with rest or json-rpc?
thanks for help or ideas
dantegabriel

Hyperledger composer REST API does not return transaction id

Why is my composer REST server not returning the transaction id of the request, or where can I find the id?
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{ \
"$class": "org.example.biznet.SampleAsset", \
"assetId": "1", \
"value": "103300" \
}' 'http://localhost:3000/api/SampleAsset'
Response:
{
"date": "Sun, 04 Feb 2018 15:59:10 GMT",
"x-content-type-options": "nosniff",
"etag": "W/\"52-0IlZYwJKBE6+rHqbXGCNVeELkQ0\"",
"x-download-options": "noopen",
"x-frame-options": "DENY",
"content-type": "application/json; charset=utf-8",
"access-control-allow-origin": "http://localhost:3000",
"access-control-allow-credentials": "true",
"connection": "keep-alive",
"vary": "Origin, Accept-Encoding",
"content-length": "82",
"x-xss-protection": "1; mode=block"
}
As I can see in the pull request it should be solved: https://github.com/hyperledger/composer/pull/843
My versions:
├── composer-cli#0.16.3
├── composer-playground#0.16.3
├── composer-rest-server#0.16.3
It looks like you have submitted a POST request to an Asset (SampleAsset) which being an Asset does not generate a Transaction ID. If you POST to a Transaction you will get a Transaction ID - and you will see it in the Response Body, not the Response Header. See example below.

Repeating post curl request until answer is 200 in bash

I've got this script in the user-data of an ec2 linux. Is there a way to do a while to "loop" in this script so that it keeps doing the curl requests every 5 minutes until the requests return 200?
#!/bin/bash
sed -i -e '/<Name>loadbalanceServerIP<\/Name>/,/<Value>/s/<Value>[^<]*/<Value>52.53.197.227/' /home/wowza/conf/Server.xml
edge_ip=`curl -s http://169.254.169.254/latest/meta-data/public-ipv4`
curl --digest -u 'wowza:i-0fbfeb0718fab03b8' -X POST --header 'Accept:application/json; charset=utf-8' --header 'Content-type:application/json; charset=utf-8' http://52.53.197.227:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/pushpublish/mapentries/letitoptier_source -d'
{
"restURI": "http://52.53.197.227:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/pushpublish/mapentries/letitoptier_source",
"serverName": "_defaultServer_",
"sourceStreamName": "letitoptier_source",
"entryName": "letitoptier_source_target",
"profile": "rtmp",
"host": "'$edge_ip'",
"application": "live",
"userName": "wowza",
"password": "i-0fbfeb0718fab03b8",
"streamName": "letitoptier_source"
}'
curl --digest -u 'wowza:i-0fbfeb0718fab03b8' -X POST --header 'Accept:application/json; charset=utf-8' --header 'Content-type:application/json; charset=utf-8' http://52.53.197.227:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/pushpublish/mapentries/letitoptier_160p -d'
{
"restURI": "http://52.53.197.227:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/pushpublish/mapentries/letitoptier_160p",
"serverName": "_defaultServer_",
"sourceStreamName": "letitoptier_160p",
"entryName": "letitoptier_160p_target",
"profile": "rtmp",
"host": "'$edge_ip'",
"application": "live",
"userName": "wowza",
"password": "i-0fbfeb0718fab03b8",
"streamName": "letitoptier_160p"
}'
How can I know if it ran and what result or message it returned?
Thank you
If you are unsure whether the User Data script executed, log files are available at:
Linux: /var/log/cloud-init-output.log
Windows: C:\cfn

Teams connector - ActionCard of type HttpPost returns Forbidden

I currently working on a Microsoft Teams Connector. The connecting flow and sending messages works fine, but when I have problems with actions of type 'HttpPOST'. The buttons are shown correctly, but when I click on it I get an error response: An unexpected error(Type = Forbidden) occurred. Please try again.
The call never reach the ngrok portal, so I think the error is related to how I send the message or how I configure the connector, but I couldn't find a solution.
I post:
{
"#type": "MessageCard",
"#context": "https://schema.org/extensions",
"summary": "Card \"Test card\"",
"themeColor": "0078D7",
"title": "Card created: \"Name of card\"",
"sections": [
{
"activityTitle": "Miguel Garcia",
"activitySubtitle": "9/13/2016, 3:34pm",
"activityImage": "https://connectorsdemo.azurewebsites.net/images/MSC12_Oscar_002.jpg",
"facts": [
{
"name": "Board:",
"value": "Name of board"
},
{
"name": "List:",
"value": "Name of list"
},
{
"name": "Assigned to:",
"value": "(none)"
},
{
"name": "Due date:",
"value": "(none)"
}
],
"text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
}
],
"potentialAction": [
{
"#type": "ActionCard",
"name": "Add a comment",
"inputs": [
{
"#type": "TextInput",
"id": "comment",
"isMultiline": true,
"title": "Enter your comment"
}
],
"actions": [
{
"#type": "HttpPOST",
"name": "OK",
"target": "https://401dd384.ngrok.io/teamshook/actions"
}
]
},
{
"#type": "OpenUri",
"name": "View in web",
"targets": [
{
"os": "default",
"uri": "http://google.com"
}
]
}
]
}
I also set the ngrok url in the Connectors Dev Portal as valid domain and action url.
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.5/MicrosoftTeams.schema.json",
"manifestVersion": "1.5",
"id": "9f849570-f95a-11e9-a986-c11672ed410c",
"version": "0.0.1",
"packageName": "test",
"developer": {
"name": "Test GmbH",
"websiteUrl": "https://test.io",
"privacyUrl": "https://www.test.io/en/privacy-policy/",
"termsOfUseUrl": "https://www.test.io/en/terms-and-conditions/"
},
"name": {
"short": "test",
"full": "test"
},
"description": {
"short": "The test connector for the development environment.",
"full": "The test connector for the development environment."
},
"icons": {
"outline": "blue-bot_192px.png",
"color": "blue-bot_32px.png"
},
"accentColor": "#D85028",
"configurableTabs": [
{
"configurationUrl": "https://401dd384.ngrok.io/testTab/config.html",
"canUpdateConfiguration": true,
"scopes": [
"team"
]
}
],
"staticTabs": [],
"bots": [
{
"botId": "cc7e39e5-a336-43ec-956f-8c4a3326faae",
"needsChannelSelector": true,
"isNotificationOnly": false,
"scopes": [
"team",
"personal"
],
"commandLists": [
{
"scopes": [
"team",
"personal"
],
"commands": [
{
"title": "Help",
"description": "Shows help information"
}
]
}
]
}
],
"connectors": [
{
"connectorId": "c16f86d9-12b6-40ff-8314-745c4023f48c",
"configurationUrl": "https://401dd384.ngrok.io/testConnector/config.html",
"scopes": [
"team"
]
}
],
"composeExtensions": [],
"permissions": [
"identity",
"messageTeamMembers"
],
"validDomains": [
"401dd384.ngrok.io"
]
}
I inspect the web version of Teams and this post happen when I clicked the button:
curl -X POST \ 'https://teams.microsoft.com/api/mt/emea/beta/users/connectors/xxx#thread.skype;messageid=xxx/executeAction' \
-H 'Postman-Token: 980caf3b-d35c-4b7f-bb64-6e36f1adb774' \
-H 'accept: application/json, text/plain, */*' \
-H 'accept-encoding: gzip, deflate, br' \
-H 'accept-language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'authority: teams.microsoft.com' \
-H 'authorization: Bearer xxx' \
-H 'cache-control: no-cache,no-cache' \
-H 'content-type: application/json;charset=UTF-8' \
-H 'cookie: display-culture=en-GB; MC1=GUID=47e1e76e0c7d4d6b9e5c726a58ea4556&HASH=47e1&LV=201909&V=4&LU=1569223617444; market=DE; MSCC=1569223618; smcflighting=100; clocale=en-gb; WT_FPC=id=2f7aca4e774166b49f41572934143837:lv=1572934143837:ss=1572934143837; MicrosoftApplicationsTelemetryDeviceId=9d964974-4082-a701-6c6b-41477ff7e6bd; MicrosoftApplicationsTelemetryFirstLaunchTime=1573132947473; MSFPC=GUID=47e1e76e0c7d4d6b9e5c726a58ea4556&HASH=47e1&LV=201909&V=4&LU=1569223617444; MUID=0D348A65E5EC65C502F287AFE4266466; MUIDB=0D348A65E5EC65C502F287AFE4266466; TSPREAUTHCOOKIE=true; deviceId=28a0b2a0-e350-46f2-bc29-b3b68e5149b1; firstTimeLaunch=1573464555718; TSREGIONCOOKIE=emea; minimumVersionClientUpdateTries=0; authtoken=Bearer=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkJCOENlRlZxeWFHckdOdWVoSklpTDRkZmp6dyIsImtpZCI6IkJCOENlRlZxeWFHckdOdWVoSklpTDRkZmp6dyJ9.eyJhdWQiOiJodHRwczovL2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dDVBclpIZ1VVXzRzWGhuQ19FUUEiLCJ0aWQiOiIzNjIwN2QxMy01MDU4LTQ2ODgtOGJmOS0zMjAxMzk5OTU4OTQiLCJ1bmlxdWVfbmFtZSI6InN2ZW5AaGVsbG9ocS5pbyIsInVwbiI6InN2ZW5AaGVsbG9ocS5pbyIsInV0aSI6InJrVWdNeU1TODBHNHF3azY0NHByQUEiLCJ2ZXIiOiIxLjAiLCJ4bXNfbXBjaSI6MjU5MjAwLCJ4bXNfcGNpIjozNjAwfQ.aLKqzoCn4-I0VeGeM_MvHITyyfH6b-2gqJYB3ZvhYlhANojYSh6hBY1rwzaUYboeSpPbflzqpWlbZFUsowLHfEOdwRbLQmYcGBKWx10YkwAVyNDQd4hvz61MrITyZqY3iUuNf8hqAeZSuGHgE-i7nLqEydTQrvnQFLG_qMF9KWhMidiT7p2ULyBdNhvwkDEHsq378lykz4ZCvk1tVOzWETcv9xz_zFP0tffz6aHZ4FTsK2lkZuHmSMxwTNzGaXwZYEP2rzXbuz70GMRdJRmAfMJMzMD97IeV5MD3p230-3dY_M-hZp9EyAb2h9sACDQ7XYBMeTFTzCVYfkJoSOEA_Q; ARRAffinity=0b20ba151314f86a0737223ef48ad813dc527c505a17f75b2d96c6573ffe5df1' \
-H 'origin: https://teams.microsoft.com' \
-H 'pragma: no-cache' \
-H 'referer: https://teams.microsoft.com/_?lm=deeplink&lmsrc=homePageWeb&cmpid=WebSignIn' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: same-origin' \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.87 Safari/537.36' \
-H 'x-ms-client-env: msteams-web-prod-euno-01' \
-H 'x-ms-client-type: web' \
-H 'x-ms-client-version: 1415/1.0.0.2019110122' \
-H 'x-ms-scenario-id: 505' \
-H 'x-ms-session-id: 995133f1-466e-6584-adb4-116d0c58a9d1' \
-H 'x-ms-user-type: user' \
-H 'x-ringoverride: general' \
-H 'x-skypetoken: xxx' \
-b 'display-culture=en-GB; MC1=GUID=47e1e76e0c7d4d6b9e5c726a58ea4556&HASH=47e1&LV=201909&V=4&LU=1569223617444; market=DE; MSCC=1569223618; smcflighting=100; clocale=en-gb; WT_FPC=id=2f7aca4e774166b49f41572934143837:lv=1572934143837:ss=1572934143837; MicrosoftApplicationsTelemetryDeviceId=9d964974-4082-a701-6c6b-41477ff7e6bd; MicrosoftApplicationsTelemetryFirstLaunchTime=1573132947473; MSFPC=GUID=47e1e76e0c7d4d6b9e5c726a58ea4556&HASH=47e1&LV=201909&V=4&LU=1569223617444; MUID=0D348A65E5EC65C502F287AFE4266466; MUIDB=0D348A65E5EC65C502F287AFE4266466; TSPREAUTHCOOKIE=true; deviceId=28a0b2a0-e350-46f2-bc29-b3b68e5149b1; firstTimeLaunch=1573464555718; TSREGIONCOOKIE=emea; minimumVersionClientUpdateTries=0; authtoken=Bearer=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkJCOENlRlZxeWFHckdOdWVoSklpTDRkZmp6dyIsImtpZCI6IkJCOENlRlZxeWFHckdOdWVoSklpTDRkZmp6dyJ9.eyJhdWQiOiJodHRwczovL2FwaS5zcGFjZXMuc2t5cGUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvMzYyMDdkMTMtNTA1OC00Njg4LThiZjktMzIwMTM5OTk1ODk0LyIsImlhdCI6MTU3MzQ2NDI1NiwibmJmIjoxNTczNDY0MjU2LCJleHAiOjE1NzM0NjgxNTYsImFjY3QiOjAsImFjciI6IjEiLCJhaW8iOiJBU1FBMi84TkFBQUF6T1lpQ0JMdW1VM3JwZHNYUXNDT1JPWHp0a0lqRGtLY0YzN2E2U1RIYTYwPSIsImFtciI6WyJwd2QiXSwiYXBwaWQiOiI1ZTNjZTZjMC0yYjFmLTQyODUtOGQ0Yi03NWVlNzg3ODczNDYiLCJhcHBpZGFjciI6IjAiLCJm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f8hqAeZSuGHgE-i7nLqEydTQrvnQFLG_qMF9KWhMidiT7p2ULyBdNhvwkDEHsq378lykz4ZCvk1tVOzWETcv9xz_zFP0tffz6aHZ4FTsK2lkZuHmSMxwTNzGaXwZYEP2rzXbuz70GMRdJRmAfMJMzMD97IeV5MD3p230-3dY_M-hZp9EyAb2h9sACDQ7XYBMeTFTzCVYfkJoSOEA_Q; ARRAffinity=0b20ba151314f86a0737223ef48ad813dc527c505a17f75b2d96c6573ffe5df1' \
-d '{"inputParameters":[],"actionId":"e57e17c4-7b31-44ad-9062-8efc53c9a6b1","potentialAction":"{\"#type\":\"HttpPOST\",\"#id\":\"e57e17c4-7b31-44ad-9062-8efc53c9a6b1\",\"name\":\"Approve\",\"target\":\"https://401dd384.ngrok.io/teamshook/actions\",\"headers\":[{}],\"body\":\"Test Body\",\"bodyContentType\":\"\"}","name":"action/connector","integrationId":"lo6r5tcyqu","meta":"{\"connectorSenderGuid\":\"c16f86d9-12b6-40ff-8314-745c4023f48c\",\"providerAccountUniqueId\":null,\"connectorConfigurationAlternateId\":\"c36080ff202e4efab506e80383684041\"}","clientInfo":{"locale":"en-gb","country":"gb","platform":"Web","clientVersion":"1415/1.0.0.2019110122"}}'
We also tried different message formats and different users, but without any success.
If someone has an idea why that happen it would really cool to help us.
Thanks a lot.
---- edit
The captured curl of the executeAction call:
curl 'https://teams.microsoft.com/api/mt/emea/beta/users/connectors/19:2ff959fb46384b60806b4a3063940924#thread.skype;messageid=1574674903186/1574674903186/executeAction' -H 'authority: teams.microsoft.com' -H 'pragma: no-cache' -H 'cache-control: no-cache' -H 'x-ms-session-id: 35b0ec8d-066c-08cb-3abc-ea78a50b48cf' -H 'x-ms-scenario-id: 439' -H 'x-ms-user-type: user' -H 'x-ms-client-env: msteams-web-prod-ukso2-02' -H 'x-ms-client-type: web' -H 'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkJCOENlRlZxeWFHckdOdWVoSklpTDRk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ngQFqDhXc2v0G37m8PtF0aPYt5LkE7TH1twNxJlO_Cplm3yLM1oCuJyeNDfPpjaJnRspIwsrhIUwrE5RC-gzVCyLHGKCxrhDzKr4aqLjNOO4uHk3PPDa9GvRmN-qowOc4KYlBo8Pv4dykIE6I9MkhlMabewIx5jOPSOJj2cBcup90i45t6DpmMrwgPVfhJCTJ8nqQ_jmqIelsISsfpLenWu0QfO7A2c96-KsflUdsJeLpyY2VyrAWh67UYLvGY1ojaiHdeT35TmNM-rg5glfMVw' -H 'content-type: application/json;charset=UTF-8' -H 'x-skypetoken: eyJhbGciOiJSUzI1NiIsImtpZCI6IjEwMSIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE1NzQ2NzI2MDIsImV4cCI6MTU3NDcwMTQwMSwic2t5cGVpZCI6Im9yZ2lkOjhhYzA4OGNmLWQ3MmYtNDFlNC05YzY4LTBlOTY3YjI1MzViNCIsInNjcCI6NzgwLCJjc2kiOiIxNTc0NjcyMzAxIiwidGlkIjoiMzYyMDdkMTMtNTA1OC00Njg4LThiZjktMzIwMTM5OTk1ODk0IiwicmduIjoiZW1lYSJ9.WV_2hEA7NQvGiPs6OSmIyt3-OMqZzAjV-EhZq52codhAbusEpjJOzHY1nBxxL3qC3NZzRAomjUHr31P3Yv3hDKE92jM_n4bEvnCKVYGSvKwXDQQFgFS-pYmU8Q8EFxhhZAtT6SJkXeh1_Pzhr9daQwHy0y4I_eW8PVjfrVGJnDcEXOH2YqFT71EwKMzUazGmayRqJh8npoAOJpL7LHRZyYo5KArOQrnN87eS9eCOEWGZtGQyt7goLD7A9CiaBeRovwG-OafHMnQOI1mLIlpvEEz5kxFp43h4d4O-l2YmY0CBj5MxlDMPqXnYXAyV8atwa0N0GR_PIdYvXCbl_69EPQ' -H 'accept: application/json, text/plain, */*' -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36' -H 'x-ms-client-version: 1415/1.0.0.2019111310' -H 'x-ringoverride: general' -H 'origin: https://teams.microsoft.com' -H 'sec-fetch-site: same-origin' -H 'sec-fetch-mode: cors' -H 'referer: https://teams.microsoft.com/_' -H 'accept-encoding: gzip, deflate, br' -H 'accept-language: en-US,en;q=0.9,de;q=0.8' -H $'cookie: optimizelyEndUserId=oeu1529660782443r0.2799079385478569; IR_PI=1529660786364.usqgowm9e9g; brwsr=ef21e579-7cd8-3c29-bada-c9967030ccb9; LPVID=RmMmFkNjk5ZmRmZWVjNzBk; display-culture=de-DE; _ga=GA1.2.993109843.1535539108; WRUIDCD03072018=1948513313079677; __gads=ID=aa5a04581235989c:T=1547817653:S=ALNI_MZ__N-eFcHFk2f7gcWVfLEhcVtVJg; _mkto_trk=id:157-GQE-382&token:_mch-microsoft.com-1557562473465-90230; MC1=GUID=1809430531dc470ab5889c2130829947&HASH=1809&LV=201906&V=4&LU=1561124815979; _fbp=fb.1.1561386017962.594814471; MSCC=1564056930; ctm={\'pgv\':8232991868068086|\'vst\':3309208493223749|\'vstr\':5569381663943377|\'intr\':1568375851503|\'v\':1|\'lvst\':71908}; MUID=30503BCD438C6B431394362F478C68A1; WT_FPC=id=2ab27edf110839692921535511354465:lv=1570156567867:ss=1570156567867; MUIDB=30503BCD438C6B431394362F478C68A1; clocale=en-us; aamoptsegs=aam%3D10802490; AMCV_EA76ADE95776D2EC7F000101%40AdobeOrg=-179204249%7CMCIDTS%7C18028%7CMCMID%7C85519884052926733562433929802324639263%7CMCAAMLH-1573748769%7C6%7CMCAAMB-1573825495%7CRKhpRz8krg2tLO6pguXWp5olkAcUniQYPHaMWWgdJ3xzPWQmdj0y%7CMCOPTOUT-1573227895s%7CNONE%7CMCAID%7C2DD716958530F6F7-40000306A0019702%7CvVersion%7C3.3.0%7CMCCIDH%7C-1662673240; utag_main=v_id:016b89dbe48a008fafa26738cac003073007d06b00978$_sn:6$_ss:1$_st:1573228821833$ses_id:1573227021833%3Bexp-session$_pn:1%3Bexp-session; G_ENABL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uZG93c2tpIiwib2lkIjoiOGFjMDg4Y2YtZDcyZi00MWU0LTljNjgtMGU5NjdiMjUzNWI0IiwicHVpZCI6IjEwMDMzRkZGQTA2NTYxMkIiLCJzY3AiOiJ1c2VyX2ltcGVyc29uYXRpb24iLCJzdWIiOiJ0WW54RlR2cml6RlJYcndoMzkzckZ3aEhPWmpGRWJrR1Ywb0d1Vko1V0lBIiwidGlkIjoiMzYyMDdkMTMtNTA1OC00Njg4LThiZjktMzIwMTM5OTk1ODk0IiwidW5pcXVlX25hbWUiOiJFaWtlQGhlbGxvaHEuaW8iLCJ1cG4iOiJFaWtlQGhlbGxvaHEuaW8iLCJ1dGkiOiJ6X0drajVxVzFVcWU4TzFSaW1JSkFBIiwidmVyIjoiMS4wIn0.d7QIMoJ-lOJofbYaCsioBUPIUJMO9nWchS9h4egS4hmP5juMS-4Kf8g70uaIe_wngQFqDhXc2v0G37m8PtF0aPYt5LkE7TH1twNxJlO_Cplm3yLM1oCuJyeNDfPpjaJnRspIwsrhIUwrE5RC-gzVCyLHGKCxrhDzKr4aqLjNOO4uHk3PPDa9GvRmN-qowOc4KYlBo8Pv4dykIE6I9MkhlMabewIx5jOPSOJj2cBcup90i45t6DpmMrwgPVfhJCTJ8nqQ_jmqIelsISsfpLenWu0QfO7A2c96-KsflUdsJeLpyY2VyrAWh67UYLvGY1ojaiHdeT35TmNM-rg5glfMVw&Origin=https://teams.microsoft.com; files-version=20191015024; visitBotInputMenuInChannel28%3Acc7e39e5-a336-43ec-956f-8c4a3326faae=firsttimevisit; sessionId=35b0ec8d-066c-08cb-3abc-ea78a50b48cf; ARRAffinity=92d0c4513bf71e4bdf5bd11c260c635040e50a681c1c4633e279ddba09044679' --data-binary '{"inputParameters":[{"id":"comment","value":"123123"}],"actionId":"faa584fb-532c-4c72-a8a3-57828dcd7ff6","potentialAction":"{\"#type\":\"HttpPOST\",\"#id\":\"faa584fb-532c-4c72-a8a3-57828dcd7ff6\",\"name\":\"OK\",\"target\":\"https://webhook.site/9375df39-4c54-4929-9d04-769d1d54cde8\",\"headers\":[],\"body\":\"\",\"bodyContentType\":\"\"}","name":"action/connector","integrationId":"ujl4uzt1op","meta":"{\"connectorSenderGuid\":\"9cbc95ef-5805-49d6-916a-b00d607986b0\",\"providerAccountUniqueId\":null,\"connectorConfigurationAlternateId\":\"febcfc0a762e4010a026124d9394bebd\"}","clientInfo":{"locale":"en-us","country":"us","platform":"Web","clientVersion":"1415/1.0.0.2019111310"}}' --compressed
And here is the log of the response:
precompiled-web-worker-cea5e26e7cd2899905ea.js:38 2019-11-25T09:41:57.638Z cdlwebworker: {"component":"CDLStateMachine","hostRendererId":"cdlwebworker","requestType":"database","message":"The state machine for handler tasks 0.10999999358318746 to be ready to process requests"}
precompiled-web-worker-cea5e26e7cd2899905ea.js:38 2019-11-25T09:41:58.442Z cdlwebworker: {"component":"CDLStateMachine","hostRendererId":"cdlwebworker","requestType":"database","message":"The state machine for handler tasks 0.03500000457279384 to be ready to process requests"}
angular.min.js:98 POST https://teams.microsoft.com/api/mt/emea/beta/users/connectors/19:2ff959fb46384b60806b4a3063940924#thread.skype;messageid=1574674903186/1574674903186/executeAction 403
(anonymous) # angular.min.js:98
r # angular.min.js:93
(anonymous) # angular.min.js:90
f # angular.min.js:126
(anonymous) # angular.min.js:126
$eval # angular.min.js:141
$digest # angular.min.js:138
(anonymous) # msteams-web-ng1-services.min.js:1
$apply # angular.min.js:141
(anonymous) # angular.min.js:269
dispatch # jquery.min.js:1
(anonymous) # jquery.min.js:1
angular.min.js:113 2019-11-25T09:42:03.490Z [O365ActionPaneController.makeHttpPOSTRequestForConnector()] Http invoke failed: {"data":{"errorCode":"Forbidden","message":"An unexpected error(Type = Forbidden) occurred. Please try again."},"status":403,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"url":"https://teams.microsoft.com/api/mt/emea/beta/users/connectors/19:2ff959fb46384b60806b4a3063940924#thread.skype;messageid=1574674903186/1574674903186/executeAction","data":{"inputParameters":[{"id":"comment","value":"123123"}],"actionId":"faa584fb-532c-4c72-a8a3-57828dcd7ff6","potentialAction":"{\"#type\":\"HttpPOST\",\"#id\":\"faa584fb-532c-4c72-a8a3-57828dcd7ff6\",\"name\":\"OK\",\"target\":\"https://webhook.site/9375df39-4c54-4929-9d04-769d1d54cde8\",\"headers\":[],\"body\":\"\",\"bodyContentType\":\"\"}","name":"action/connector","integrationId":"ujl4uzt1op","meta":"{\"connectorSenderGuid\":\"9cbc95ef-5805-49d6-916a-b00d607986b0\",\"providerAccountUniqueId\":null,\"connectorConfigurationAlternateId\":\"febcfc0a762e4010a026124d9394bebd\"}","clientInfo":{"locale":"en-us","country":"us","platform":"Web","clientVersion":"1415/1.0.0.2019111310"}},"headers":{"X-Skypetoken":"pii","Authorization":"pii","Accept":"application/json, text/plain, */*","Content-Type":"application/json;charset=utf-8","X-RingOverride":"general","x-ms-scenario-id":"439","x-ms-user-type":"user","x-ms-client-type":"web","x-ms-client-env":"msteams-web-prod-ukso2-02","x-ms-client-version":"1415/1.0.0.2019111310","x-ms-session-id":"35b0ec8d-066c-08cb-3abc-ea78a50b48cf"},"counter":"ext_actionable_card_http_post","decrementNetworkRequests":null,"hostName":"teams.microsoft.com"},"statusText":""}
(anonymous) # angular.min.js:113
(anonymous) # msteams-web-ng1-services.min.js:1
(anonymous) # msteams-web-ng1-services.min.js:1
(anonymous) # msteams-web-ng1.min.js:1
f # angular.min.js:126
(anonymous) # angular.min.js:126
$eval # angular.min.js:141
$digest # angular.min.js:138
(anonymous) # msteams-web-ng1-services.min.js:1
$apply # angular.min.js:141
(anonymous) # angular.min.js:92
x # angular.min.js:96
(anonymous) # angular.min.js:97
load (async)
(anonymous) # angular.min.js:97
r # angular.min.js:93
(anonymous) # angular.min.js:90
f # angular.min.js:126
(anonymous) # angular.min.js:126
$eval # angular.min.js:141
$digest # angular.min.js:138
(anonymous) # msteams-web-ng1-services.min.js:1
$apply # angular.min.js:141
(anonymous) # angular.min.js:269
dispatch # jquery.min.js:1
(anonymous) # jquery.min.js:1
precompiled-web-worker-cea5e26e7cd2899905ea.js:38 2019-11-25T09:42:28.459Z cdlwebworker: {"component":"CDLStateMachine","hostRendererId":"cdlwebworker","requestType":"database","message":"The state machine for handler tasks 0.09499999578110874 to be ready to process requests"}

Resources