Hey guys, I have a question regarding the updating...
# talk-kratos
a
Hey guys, I have a question regarding the updating of an identity through the
IdentityApi
with
Golang
. Whenever I fire the call
Kratos
returns me a 307. I am not sure what I am doing wrong. Can somebody help me with figuring out the solution? The log line from Kratos:
Copy code
kratos_1          | time=2023-01-03T19:42:24Z level=info msg=completed handling request http_request=map[headers:map[accept:application/json accept-encoding:gzip authorization:[Bearer test123456] content-length:123 content-type:application/json user-agent:API] host:kratos:4433 method:PUT path:/admin/identities/c5bbed2d-6321-4bf5-ae39-5de41e638cfb query:<nil> remote:172.24.0.8:35248 scheme:http] http_response=map[headers:map[cache-control:private, no-cache, no-store, must-revalidate location:<https://admin.auth.test.local/admin/identities/c5bbed2d-6321-4bf5-ae39-5de41e638cfb> vary:Cookie] size:0 status:307 text_status:Temporary Redirect took:145.824µs]
Figured out what was going wrong. The server configuration was not pointing to the admin portal 😖