diff -r 6cf2f32dbf40 -r 9a4556a13cc7 mod_rest/example/prosody_oauth.py --- a/mod_rest/example/prosody_oauth.py Wed May 24 16:34:35 2023 +0200 +++ b/mod_rest/example/prosody_oauth.py Fri May 26 14:32:59 2023 +0200 @@ -16,6 +16,9 @@ "client_name": client_name, "client_uri": client_uri, "redirect_uris": [redirect_uri], + "application_type": redirect_uri[:8] == "https://" + and "web" + or "native", }, ).json()