--- a/mod_adhoc_oauth2_client/mod_adhoc_oauth2_client.lua Sun Nov 22 16:17:24 2020 +0100
+++ b/mod_adhoc_oauth2_client/mod_adhoc_oauth2_client.lua Sun Nov 22 16:54:50 2020 +0100
@@ -16,8 +16,15 @@
{var = "FORM_TYPE"; type = "hidden"; value = "urn:uuid:ff0d55ed-2187-4ee0-820a-ab633a911c14#create"};
{name = "name"; type = "text-single"; label = "Client name"; required = true};
{name = "description"; type = "text-multi"; label = "Description"};
- {name = "info_url"; type = "text-single"; label = "Informative URL"; desc = "Link to information about your client"};
- {name = "redirect_uri"; type = "text-single"; label = "Redirection URI"; desc = "Where to redirect the user after authorizing."; required = true};
+ {name = "info_url"; type = "text-single"; label = "Informative URL"; desc = "Link to information about your client"; datatype = "xs:anyURI"};
+ {
+ name = "redirect_uri";
+ type = "text-single";
+ label = "Redirection URI";
+ desc = "Where to redirect the user after authorizing.";
+ datatype = "xs:anyURI";
+ required = true;
+ };
})
local client_created = dataforms.new({