7 |
8 |
Authorize Application
9 | {{.ClientName}} would like to access your account.
10 |
11 |
12 |
13 |
Permission Review
14 |
19 |
20 |
21 |
23 |
24 |
25 |
27 |
28 |
29 |
30 |
31 |
32 |
{{.ClientName}}
33 |
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/static/css/styles.css:
--------------------------------------------------------------------------------
1 | body {
2 | color: #286090;
3 | }
4 | .home-top {
5 | margin: 0 0 0 0;
6 | padding: 0 0 30% 0;
7 | width: 100%;
8 | background: linear-gradient(to bottom, cadetblue 0%, lightsteelblue 100%);
9 | }
10 | .oauth2-home-title {
11 | width: 100%;
12 | text-align: center;
13 | float: left;
14 | margin: 0 0 0 0;
15 | padding: 12% 0 0 0;
16 | color: blue;
17 | }
18 | .oauth2-home-text {
19 | width: 100%;
20 | text-align: center;
21 | float: left;
22 | padding: 5% 0 0 0;
23 | color: darkblue;
24 | }
25 | .oauth-login-form {
26 | margin: 20% 0 0 25%;
27 | padding: 2%;
28 | width: 50%;
29 | background: #85a3b1;
30 | border-radius: 25px;
31 | border: 2px solid rgba(127, 127, 167, 0.425);
32 | }
33 | .message {
34 | text-align: center;
35 | margin: 1% 0 0 0;
36 | }
37 | .authorize-app {
38 | border-top: 1px solid #286090;
39 | width: 100%;
40 | margin: 2% 0 0 0;
41 | float: left;
42 | }
43 | .authorize-app-left {
44 | width: 50%;
45 | float: left;
46 | }
47 | .authorize-app-right {
48 | width: 50%;
49 | float: left;
50 | border: 1px solid #286090;
51 | padding: 1% 0 1% 1%;
52 | margin: 2% 0 0 0;
53 | }
54 | .authorize-app-element {
55 | width: 100%;
56 | }
57 | .authorize-app-button-left {
58 | display: inline;
59 | padding: 3% 10% 0 0;
60 | text-align: right;
61 | }
62 | .authorize-app-button-right {
63 | display: inline;
64 | padding: 3% 10% 0 0;
65 | text-align: left;
66 | }
67 |
--------------------------------------------------------------------------------
/static/css/styles.less:
--------------------------------------------------------------------------------
1 | body {
2 | color: #286090;
3 | }
4 |
5 |
6 | .home-top {
7 | margin: 0 0 0 0;
8 | padding: 0 0 30% 0;
9 | width: 100%;
10 | background: linear-gradient(to bottom, cadetblue 0%, lightsteelblue 100%);
11 |
12 | }
13 |
14 | .oauth2-home-title {
15 | width: 100%;
16 | text-align: center;
17 | float: left;
18 | margin: 0 0 0 0;
19 | padding: 12% 0 0 0;
20 | color: blue;
21 | // background: red;
22 | }
23 |
24 | .oauth2-home-text {
25 | width: 100%;
26 | text-align: center;
27 | float: left;
28 | padding: 5% 0 0 0;
29 | color: darkblue;
30 | }
31 |
32 | .oauth-login-form {
33 | margin: 20% 0 0 25%;
34 | padding: 2%;
35 | width: 50%;
36 | background: rgb(133, 163, 177);
37 | border-radius: 25px;
38 | border: 2px solid rgba(127, 127, 167, 0.425);
39 | }
40 |
41 | .message {
42 | text-align: center;
43 | margin: 1% 0 0 0;
44 | }
45 |
46 | .authorize-app {
47 | border-top: 1px solid #286090;
48 | width: 100%;
49 | margin: 2% 0 0 0;
50 | float: left;
51 | // background: red;
52 | }
53 |
54 | .authorize-app-left {
55 | //display: inline;
56 | // text-align: center;
57 | width: 50%;
58 | float: left;
59 | }
60 |
61 | .authorize-app-right {
62 | //display: inline;
63 | width: 50%;
64 | float: left;
65 | border: 1px solid #286090;
66 | padding: 1% 0 1% 1%;
67 | margin: 2% 0 0 0;
68 | }
69 |
70 | .authorize-app-element {
71 | width: 100%;
72 | }
73 |
74 | .authorize-app-button-left {
75 | display: inline;
76 | // width: 50%;
77 | // float: left;
78 | padding: 3% 10% 0 0;
79 | text-align: right;
80 | }
81 |
82 | .authorize-app-button-right {
83 | display: inline;
84 | // width: 50%;
85 | // float: right;
86 | padding: 3% 10% 0 0;
87 | text-align: left;
88 | }
--------------------------------------------------------------------------------
/static/head.html:
--------------------------------------------------------------------------------
1 | {{define "head"}}
2 |
3 |
4 | A complete standalone OAuth2 Server RFC 6749 implementation written in Golang and
12 | licensed under the GPL V3 license.
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/static/login.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{template "head"}}
4 |
5 |
6 |