Merge branch 'master' of https://gitea.mjm-staging.developers-homelab.net/mjm-group/ibms
This commit is contained in:
commit
25874a665f
@ -14,9 +14,9 @@
|
|||||||
"environmentVariables": {
|
"environmentVariables": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||||
"ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation",
|
"ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation",
|
||||||
"FORGE_CALLBACK_URL": "http://localhost:3000/api/forge/callback/oauth",
|
"FORGE_CALLBACK_URL": "http://localhost:8080",
|
||||||
"FORGE_CLIENT_ID": "zO4ZGuyALhjrL5o81vA39Pkdgr82WAmq",
|
"FORGE_CLIENT_ID": "kDOSvxcoLPCFKTncWV9GxgFcGFMkUz9W",
|
||||||
"FORGE_CLIENT_SECRET": "Bz5KyXqP6UqgGhxm"
|
"FORGE_CLIENT_SECRET": "peaXsHcAorGNdZYd"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Backend": {
|
"Backend": {
|
||||||
|
@ -49,8 +49,8 @@ namespace FrontendWebApi.ApiControllers
|
|||||||
TwoLeggedApi oauth = new TwoLeggedApi();
|
TwoLeggedApi oauth = new TwoLeggedApi();
|
||||||
string grantType = "client_credentials";
|
string grantType = "client_credentials";
|
||||||
dynamic bearer = await oauth.AuthenticateAsync(
|
dynamic bearer = await oauth.AuthenticateAsync(
|
||||||
"zO4ZGuyALhjrL5o81vA39Pkdgr82WAmq",
|
"kDOSvxcoLPCFKTncWV9GxgFcGFMkUz9W",
|
||||||
"Bz5KyXqP6UqgGhxm",
|
"peaXsHcAorGNdZYd",
|
||||||
grantType,
|
grantType,
|
||||||
scopes);
|
scopes);
|
||||||
return bearer;
|
return bearer;
|
||||||
|
@ -14,9 +14,9 @@
|
|||||||
"environmentVariables": {
|
"environmentVariables": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||||
"ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation",
|
"ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation",
|
||||||
"FORGE_CALLBACK_URL": "http://localhost:3000/api/forge/callback/oauth",
|
"FORGE_CALLBACK_URL": "http://localhost:8080",
|
||||||
"FORGE_CLIENT_ID": "zO4ZGuyALhjrL5o81vA39Pkdgr82WAmq",
|
"FORGE_CLIENT_ID": "kDOSvxcoLPCFKTncWV9GxgFcGFMkUz9W",
|
||||||
"FORGE_CLIENT_SECRET": "Bz5KyXqP6UqgGhxm",
|
"FORGE_CLIENT_SECRET": "peaXsHcAorGNdZYd",
|
||||||
"ASPNETCORE_URLS": "http://localhost:5500"
|
"ASPNETCORE_URLS": "http://localhost:5500"
|
||||||
},
|
},
|
||||||
"applicationUrl": "https://localhost:5001;http://localhost:5000"
|
"applicationUrl": "https://localhost:5001;http://localhost:5000"
|
||||||
|
Loading…
Reference in New Issue
Block a user