API for executing code submitted by a user
The code requires a secrets file which is not checked in called appsettings.secrets.json
in src\CodingMonkey.CodeExecutor
. This file contains the details needed to interact with CodingMonkey.IdentityServer an example of the format and properties is below:
{
"IdentityServer": {
"Authority": "url_of_CodingMonkey.IdentityServer_authority",
"ScopeName": "name_of_scope_for_app_defined_in_CodingMonkey.IdentityServer",
"ScopeSecret": "shared_secret_for_scope_defined_in_CodingMonkey.IdentityServer"
}
}