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": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||
"ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation",
|
||||
"FORGE_CALLBACK_URL": "http://localhost:3000/api/forge/callback/oauth",
|
||||
"FORGE_CLIENT_ID": "zO4ZGuyALhjrL5o81vA39Pkdgr82WAmq",
|
||||
"FORGE_CLIENT_SECRET": "Bz5KyXqP6UqgGhxm"
|
||||
"FORGE_CALLBACK_URL": "http://localhost:8080",
|
||||
"FORGE_CLIENT_ID": "kDOSvxcoLPCFKTncWV9GxgFcGFMkUz9W",
|
||||
"FORGE_CLIENT_SECRET": "peaXsHcAorGNdZYd"
|
||||
}
|
||||
},
|
||||
"Backend": {
|
||||
|
@ -49,8 +49,8 @@ namespace FrontendWebApi.ApiControllers
|
||||
TwoLeggedApi oauth = new TwoLeggedApi();
|
||||
string grantType = "client_credentials";
|
||||
dynamic bearer = await oauth.AuthenticateAsync(
|
||||
"zO4ZGuyALhjrL5o81vA39Pkdgr82WAmq",
|
||||
"Bz5KyXqP6UqgGhxm",
|
||||
"kDOSvxcoLPCFKTncWV9GxgFcGFMkUz9W",
|
||||
"peaXsHcAorGNdZYd",
|
||||
grantType,
|
||||
scopes);
|
||||
return bearer;
|
||||
|
@ -14,9 +14,9 @@
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||
"ASPNETCORE_HOSTINGSTARTUPASSEMBLIES": "Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation",
|
||||
"FORGE_CALLBACK_URL": "http://localhost:3000/api/forge/callback/oauth",
|
||||
"FORGE_CLIENT_ID": "zO4ZGuyALhjrL5o81vA39Pkdgr82WAmq",
|
||||
"FORGE_CLIENT_SECRET": "Bz5KyXqP6UqgGhxm",
|
||||
"FORGE_CALLBACK_URL": "http://localhost:8080",
|
||||
"FORGE_CLIENT_ID": "kDOSvxcoLPCFKTncWV9GxgFcGFMkUz9W",
|
||||
"FORGE_CLIENT_SECRET": "peaXsHcAorGNdZYd",
|
||||
"ASPNETCORE_URLS": "http://localhost:5500"
|
||||
},
|
||||
"applicationUrl": "https://localhost:5001;http://localhost:5000"
|
||||
|
Loading…
Reference in New Issue
Block a user