forked from MicrosoftDX/nether
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrundev.sh
executable file
·30 lines (23 loc) · 1.36 KB
/
rundev.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
#
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Set environment variables for development and testing__
export ASPNETCORE_ENVIRONMENT=Development # Set ASP.NET Core environment to Development to enable dev logging, and other dev-only services
export Identity__IdentityServer__RequireHttps="false";
# The following settings configure the Identity clients for integration tests
# They are also in the launchSettings.json for Nether.Web for the VS experience
export Identity__Clients__clientcredstest__Name="Test Client for client credentials flow"
export Identity__Clients__clientcredstest__AllowedGrantTypes="client_credentials"
export Identity__Clients__clientcredstest__ClientSecrets="devsecret"
export Identity__Clients__clientcredstest__AllowedScopes="openid, profile, nether-all"
export Identity__Clients__resourceownertest__AllowedGrantTypes="password"
export Identity__Clients__resourceownertest__ClientSecrets="devsecret"
export Identity__Clients__resourceownertest__AllowedScopes="nether-all"
export Identity__Clients__customgranttest__AllowedGrantTypes="fb-usertoken"
export Identity__Clients__customgranttest__ClientSecrets="devsecret"
export Identity__Clients__customgranttest__AllowedScopes="nether-all"
pushd .
cd src/Nether.Web
dotnet watch run
popd