shy-beach-55709
06/06/2023, 11:15 PMstatus:307 text_status:Temporary Redirect
In the authorized config we added the forward_response_headers_to_upstream
and the rule goes something like this:
"id": "ory:keto:write",
"upstream": {
"url": "<http://keto-write/admin/relation-tuples>",
"strip_path": "/keto-write"
},
"match": {
"url": "http://<[^/]+>/keto-write<.*>",
"methods": [
"GET",
"POST",
"PUT",
"DELETE",
"PATCH"
]
},
"authenticators": [
{
"handler": "cookie_session"
}
],
"authorizer": {
"handler": "remote_json",
"config": {
"payload": "{\"namespace\": \"Group\", \"object\": \"admin\", \"relation\": \"admin\", \"subject_id\": \"{{ print .Extra.identity.traits.email }}\"}"
}
},
"mutators": [
{
"handler": "noop"
}
]
},
Any idea?shy-beach-55709
06/06/2023, 11:17 PMclever-hair-84680
06/19/2023, 2:22 PM/admin/identities
endpoint, see https://github.com/ory/kratos/discussions/3327shy-beach-55709
06/29/2023, 2:39 PM