diff --git a/common/ASC.OAuth/authorization/src/main/resources/application.yml b/common/ASC.OAuth/authorization/src/main/resources/application.yml index a910a19ea0..71d125aa17 100644 --- a/common/ASC.OAuth/authorization/src/main/resources/application.yml +++ b/common/ASC.OAuth/authorization/src/main/resources/application.yml @@ -38,6 +38,24 @@ docspace: server: url: http://${DOCSPACE_ADDRESS:localhost:8092} +messaging: + rabbitmq: + configuration: + authorization: + exchange: authorization.exchange + queue: authorization.queue + routing: authorization.routing + deadExchange: authorization.dead.exchange + deadQueue: authorization.dead.queue + deadRouting: authorization.dead.routing + consent: + exchange: consent.exchange + queue: consent.queue + routing: consent.routing + deadExchange: consent.dead.exchange + deadQueue: consent.dead.queue + deadRouting: consent.dead.routing + resilience4j: bulkhead: instances: diff --git a/common/ASC.OAuth/authorization/src/main/resources/templates/consent.html b/common/ASC.OAuth/authorization/src/main/resources/templates/consent.html new file mode 100644 index 0000000000..68bb06c808 --- /dev/null +++ b/common/ASC.OAuth/authorization/src/main/resources/templates/consent.html @@ -0,0 +1,90 @@ + + + + + + + Custom consent page - Consent required + + + + +
+
+

App permissions

+
+
+
+

+ The application + + wants to access your account + +

+
+
+
+

The following permissions are requested by the above app.
Please review + these and consent if you approve.

+
+
+
+
+ + + +
+ + +
+ +

You have already granted the following permissions to the above app:

+
+ + +
+ +
+ +
+
+ +
+
+
+
+
+
+

+ + Your consent to provide access is required. +
If you do not approve, click Cancel, in which case no information will be shared with the app. +
+

+
+
+
+ + \ No newline at end of file diff --git a/common/ASC.OAuth/authorization/src/main/resources/templates/login.html b/common/ASC.OAuth/authorization/src/main/resources/templates/login.html new file mode 100644 index 0000000000..233509ef52 --- /dev/null +++ b/common/ASC.OAuth/authorization/src/main/resources/templates/login.html @@ -0,0 +1,70 @@ + + + + + Login System + + + +
+
+
+ +
+
Invalid Email or Password
+
+
+
You have been logged out.
+
+ +
+
+

Login Form

+
+
+
+
+ + +
+ +
+ + +
+
+ + Not registered ? + Register/Signup here + +
+
+
+
+
+
+
+ + \ No newline at end of file