You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 1, 2021. It is now read-only.
This is an Administrator Panel for JP Project. It's available in 2 versions: Light and Full. See below the differences.
8
+
9
+
# Several break changes
10
+
11
+
The version ASP.NET Core 3.0 have changed a lot. So before upgrade read differences between light and full version. At the end it's the same project . But splited repo's.
12
+
13
+
# Installation
14
+
15
+
If you know the differences between Light and Full. Check the installation instructions below. If wanna understand, check more here [Presentation](#presentation) version.
* Add `127.0.0.1 jpproject-sso` entry to hosts file (`/etc/hosts`)
26
+
*`docker-compose up`
27
+
28
+
## Light version
29
+
30
+
You will need to create a Client and API resources in you IdentityServer4. At the end of this section have some shortcuts.
31
+
32
+
1.[Download](https://github.com/brunohbrito/JPProject.IdentityServer4.AdminUI/archive/master.zip)/Clone or [Fork](https://github.com/brunohbrito/JPProject.IdentityServer4.AdminUI/fork) this repository.
33
+
2. Open `environment.ts` and change settings for you SSO.
34
+
```
35
+
export const environment = {
36
+
production: false,
37
+
IssuerUri: "http://localhost:5000",
38
+
ResourceServer: "http://localhost:5002/",
39
+
RequireHttps: false,
40
+
Uri: "http://localhost:4300",
41
+
defaultTheme: "E",
42
+
version: "3.0.0"
43
+
};
44
+
```
45
+
For more details check [angular-oauth2-oidc](https://github.com/manfredsteyer/angular-oauth2-oidc)
46
+
3. Open `docker-compose.yml` and change Api Settings:
ApiSecrets = { new Secret(":}sFUz}Pjc]K4yiW>vDjM,+:tq=U989dxw=Vy*ViKrP+bjNbWC3B3&kE23Z=%#Jr".Sha256()) },
111
+
112
+
UserClaims =
113
+
{
114
+
IdentityServerConstants.StandardScopes.OpenId,
115
+
IdentityServerConstants.StandardScopes.Profile,
116
+
IdentityServerConstants.StandardScopes.Email,
117
+
"is4-rights",
118
+
"username",
119
+
"roles"
120
+
},
121
+
122
+
Scopes =
123
+
{
124
+
new Scope()
125
+
{
126
+
Name = "jp_api.is4",
127
+
DisplayName = "OAuth2 Server",
128
+
Description = "Manage mode to IS4",
129
+
Required = true
130
+
}
131
+
}
132
+
}
133
+
```
10
134
11
135
## Table of Contents ##
12
136
137
+
- [Several break changes](#several-break-changes)
138
+
- [Installation](#installation)
139
+
- [Full Installation](#full-installation)
140
+
- [Light version](#light-version)
141
+
- [Table of Contents](#table-of-contents)
13
142
- [Presentation](#presentation)
143
+
- [Full](#full)
144
+
- [Light version](#light-version-1)
14
145
- [Admin UI](#admin-ui)
15
-
-[Login page](#login-page)
16
-
-[Consent page](#consent-page)
17
-
-[Profile](#profile)
18
146
- [Demo](#demo)
19
147
- [We are online at Azure.](#we-are-online-at-azure)
20
-
-[Docker](#docker)
21
148
- [Technologies](#technologies)
22
149
- [Architecture](#architecture)
23
150
- [Give a Star! ⭐](#give-a-star-%e2%ad%90)
24
151
- [How to build](#how-to-build)
25
152
- [Docs](#docs)
26
153
- [Contributing](#contributing)
27
154
- [Free](#free)
155
+
- [3.0.1](#301)
28
156
- [v1.4.5](#v145)
29
-
-[v1.4.0](#v140)
30
-
-[v1.3](#v13)
31
-
-[v1.2](#v12)
32
157
- [What comes next?](#what-comes-next)
33
158
- [License](#license)
34
159
35
160
------------------
36
161
37
162
# Presentation
38
163
39
-
Here some screenshots
164
+
JP Project Admin Panel is an administrative panel for IdentityServer4. You can manage Clients, Api Resources, Identity Resources and so on. There are 2 versions.
The full version is for those who don't have an IdentityServer up and running. So you can download the JP Project SSO and with this admin panel you will be able to manage **Users** and **IdentityServer4**.
* Add `127.0.0.1 jpproject` entry to hosts file (`/etc/hosts`)
80
-
*`docker-compose up`
81
-
82
-
83
194
# Technologies #
84
195
85
196
Check below how it was developed.
@@ -89,16 +200,13 @@ The main goal of project is to be a Management Ecosystem for IdentityServer4. He
89
200
90
201
- Angular 8
91
202
- Rich UI interface
92
-
- ASP.NET Core 2.2
93
-
- ASP.NET MVC Core
203
+
- ASP.NET Core 3.0
94
204
- ASP.NET WebApi Core
95
-
- ASP.NET Identity Core
96
-
- Argon2 Password Hashing
97
205
- MySql Ready
98
206
- Sql Ready
99
207
- Postgree Ready
100
208
- SQLite Ready
101
-
- Entity Framework Core 2.2
209
+
- Entity Framework Core
102
210
- .NET Core Native DI
103
211
- AutoMapper
104
212
- FluentValidator
@@ -124,18 +232,16 @@ The main goal of project is to be a Management Ecosystem for IdentityServer4. He
124
232
Do you love it? give us a Star!
125
233
126
234
## How to build
127
-
Jp Project is built against ASP.NET Core 2.2.
235
+
Jp Project is built against ASP.NET Core 3.0.
128
236
129
237
* [Install](https://www.microsoft.com/net/download/core#/current) the latest .NET Core 2.2 SDK
130
238
131
-
132
-
`src/JpProject.sln` Contains SSO and API
239
+
`src/JpProject.AdminUi.sln` Contains the API
133
240
134
241
For UI's use VSCode.
135
242
- AdminUI -> Inside VSCode open folder `rootFolder/src/Frontend/Jp.AdminUI`, then terminal and `npm install && npm start`
136
-
- User Management -> Inside VSCode open folder `rootFolder/src/Frontend/Jp.UserManagement`, then terminal and `npm install && npm start`
137
243
138
-
Wait for ng to complete his proccess then go to http://localhost:5000!
244
+
Wait for ng to complete his proccess then go to http://localhost:4300!
139
245
140
246
Any doubts? Go to docs
141
247
@@ -152,6 +258,11 @@ We'll love it! Please [Read the docs](https://jp-project.readthedocs.io/en/lates
152
258
If you need help building or running your Jp Project platform
153
259
There are several ways we can help you out.
154
260
261
+
## 3.0.1
262
+
263
+
1. ASP.NET Core 3.0 support
264
+
2. Separated repositories, for better management. Improving tests, integration tests. And to support more scenarios.
265
+
155
266
## v1.4.5
156
267
157
268
Breaking change: **Argon2 password hashing**. Be careful before update. If you are using the old version all users must need to update their passwords.
@@ -161,47 +272,15 @@ Breaking change: **Argon2 password hashing**. Be careful before update. If you a
0 commit comments