From f69fb9bc3837c6db0bb1c255ef06d6b0de69efe4 Mon Sep 17 00:00:00 2001 From: Kaisa Kuivalahti Date: Tue, 13 Aug 2024 14:40:51 +0300 Subject: [PATCH] Add new url for getting relations from api --- api/ekirjasto_authentication.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/ekirjasto_authentication.py b/api/ekirjasto_authentication.py index 4010e90d2..982a2869b 100644 --- a/api/ekirjasto_authentication.py +++ b/api/ekirjasto_authentication.py @@ -239,6 +239,10 @@ def _authentication_flow_document(self, _db: Session) -> dict[str, Any]: "rel": "passkey_login_finish", "href": f"{self._ekirjasto_api_url}/v1/auth/passkey/login/finish", }, + { + "rel": "relations", + "href": f"{self._ekirjasto_api_url}/v1/identities/patron/relations", + }, { "rel": "passkey_register_start", "href": self._create_circulation_url(