full-midnight-13013
05/30/2022, 11:01 AM/sessions/whoami
endpoint)
5. Kratos responds with the authentication status of the request
6. The Public GQL API signs the request (the session + identity info returned from Kratos?) with the private key, and forwards the request to the relevant service. E.g. Service 1
a. Service 1 can then authenticate the request by verifying the signature using the public key it retrieved from the Public GQL API during startup
7. If Service 1 needs to call any other service to handle the request (E.g. Service 2), it can just forward the signed request, and Service 2 can verify the signature to authenticate
Any thoughts on the correctness and security of this approach? Any feedback (or confirmation) is most welcome! 😊elegant-angle-39183
05/30/2022, 2:20 PMfull-midnight-13013
05/30/2022, 7:33 PM