From 1f25d024040e17ad86472fb29f17753218b9c119 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 2 May 2024 05:39:30 +0300 Subject: Use same name as register-client form --- gn_auth/auth/authorisation/users/admin/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gn_auth/auth/authorisation/users/admin/views.py') diff --git a/gn_auth/auth/authorisation/users/admin/views.py b/gn_auth/auth/authorisation/users/admin/views.py index e0ebdf3..3018a62 100644 --- a/gn_auth/auth/authorisation/users/admin/views.py +++ b/gn_auth/auth/authorisation/users/admin/views.py @@ -279,9 +279,9 @@ def edit_client(): the_client = the_client.value client_metadata = { **the_client.client_metadata, - "default_redirect_uri": form["default_redirect_uri"], + "default_redirect_uri": form["redirect_uri"], "redirect_uris": list(set( - [form["default_redirect_uri"]] + + [form["redirect_uri"]] + form["other_redirect_uris"].split("\r\n"))), "grants": form.getlist("grants[]"), "scope": form.getlist("scope[]") -- cgit v1.2.3