diff --git a/apps/user-profile/src/assets/config/defaultConfig.json b/apps/user-profile/src/assets/config/defaultConfig.json
index 4062f0f8bb2e49eee776feee1dc51a535236d11a..1e2ed6c926f93e3043e9a0dda20dbad4950450ab 100644
--- a/apps/user-profile/src/assets/config/defaultConfig.json
+++ b/apps/user-profile/src/assets/config/defaultConfig.json
@@ -7,7 +7,8 @@
     "oauth_client_id": "411471d9-5e3d-48bd-9717-25f1fa634d20",
     "oauth_post_logout_redirect_uri": "",
     "oauth_redirect_uri": "http://gui-dev.org/api-callback",
-    "oauth_scopes": "openid profile perun_api"
+    "oauth_scopes": "openid profile perun_api",
+    "oauth_response_type": "code"
   },
   "password_namespace_attributes": [
     "urn:perun:user:attribute-def:def:login-namespace:einfra",