-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d3d741c
commit 373050d
Showing
30 changed files
with
255 additions
and
133 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
sample/MultiTiers/Aguacongas.TheIdServer.Private/Dockerfile-private
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM aguacongas/aguacongastheidserver:unstable as base | ||
COPY Aguacongas.TheIdServer.Private/appsettings.Docker.json . | ||
COPY Aguacongas.TheIdServer.Private/wwwroot/appsettings.Docker.json ./wwwroot/appsettings.json | ||
ENV ASPNETCORE_ENVIRONMENT=Docker | ||
ENV ASPNETCORE_Kestrel__Certificates__Default__Path=/usr/local/share/ca-certificates/aspnetapp.crt | ||
ENV ASPNETCORE_URLS="https://+:5443;http://+:5000" | ||
ENV ASPNETCORE_HTTPS_PORT=5443 |
7 changes: 7 additions & 0 deletions
7
sample/MultiTiers/Aguacongas.TheIdServer.Private/appsettings.Docker.Development.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"IdentityServer": { | ||
"Key": { | ||
"Type": "Development" | ||
} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
sample/MultiTiers/Aguacongas.TheIdServer.Private/appsettings.Docker.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"ConnectionStrings": { | ||
"DefaultConnection": "Data Source=./sql.db" | ||
}, | ||
"DbType": "Sqlite", | ||
"IdentityServer": { | ||
"Key": { | ||
"Type": "Development" | ||
} | ||
}, | ||
"ApiAuthentication": { | ||
"Authority": "https://private:443" | ||
}, | ||
"EmailApiAuthentication": { | ||
"Authority": "https://private:443", | ||
"ApiUrl": "https://private:443/api/email" | ||
}, | ||
"Serilog": { | ||
"LevelSwitches": { | ||
"$controlSwitch": "Debug" | ||
}, | ||
"MinimumLevel": { | ||
"ControlledBy": "$controlSwitch" | ||
}, | ||
"WriteTo": [ | ||
{ | ||
"Name": "Seq", | ||
"Args": { | ||
"serverUrl": "http://seq:5341", | ||
"controlLevelSwitch": "$controlSwitch", | ||
"apiKey": "Lk1fBj9QYhEbtyLSSEeS" | ||
} | ||
}, | ||
{ | ||
"Name": "Console", | ||
"Args": { | ||
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level}] {SourceContext}{NewLine}{Message:lj}{NewLine}{Exception}{NewLine}", | ||
"theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Literate, Serilog.Sinks.Console" | ||
} | ||
} | ||
], | ||
"Enrich": [ | ||
"FromLogContext", | ||
"WithMachineName", | ||
"WithThreadId" | ||
] | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
sample/MultiTiers/Aguacongas.TheIdServer.Private/wwwroot/appsettings.Docker.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"configurationEndpoint": "appsettings.Development.json", | ||
"apiBaseUrl": "https://localhost:5443/api", | ||
"welcomeContenUrl": "/welcome-fragment.html", | ||
"administratorEmail": "[email protected]", | ||
"authority": "https://localhost:5443/", | ||
"client_id": "theidserveradmin", | ||
"redirect_uri": "https://localhost:5443/authentication/login-callback", | ||
"post_logout_redirect_uri": "https://localhost:5443/authentication/logout-callback", | ||
"response_type": "code", | ||
"scope": "openid profile theidserveradminapi" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
src/Aguacongas.TheIdServer/Areas/Identity/Services/EmailOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
using Aguacongas.IdentityServer.Http.Store; | ||
|
||
namespace Aguacongas.TheIdServer.Areas.Identity.Services | ||
{ | ||
public class EmailOptions : IdentityServerOptions | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.