Skip to main content

Agency Configuration 6

Editor Tab

Under the "Editor" tab, you will find configuration settings related to additional functionality of the agent.

Note: These settings are optional for configuring the basic functionality of your agent.

editor tab

Here are the key functions you can configure:

  • URL Shortener Service Endpoint: The Business Connector implements a default URL shortener service, the endpoint of which can be specified here. A null value disables the service.
  • CORS Origins: This setting allows the implementor to override default Cos-Origin Resource Scripting permissions for the agent host and should be configured if the agent is not deployed behind an existing WAF/API Gateway service.
  • VC Auth API: This section defines the policies to implemented should the BC be deployed to leverage the Verifiable Credential Authentication API.

VC Auth API Configuration

This is a sample json object and Authorization Credential schema definition that will enable basic VC Auth functionality with default settings.

...
"UrlShortenerService": {
"Route": "/vc/auth"
},
"VCAuthAPI": {
"Authentication": {
"AuthenticationScheme": null,
"AuthenticationType": null,
"SessionLifetimeInMinutes": 1,
"TokenUrl": null,
"NonceUrl": null,
"CookieOptions": null,
"JwtTokenOptions": null
},
"Schemas": [
{
"SchemaName": "personal",
"IsDefault": true,
"TokenUrl": null,
"LogoImageUrl": null,
"Claims": null,
"ProofRequest": {
"Name": "Provide credential to sign-in",
"LocalizationKey": null,
"Credentials": [
{
"Name": "Authorization credential",
"FaceCheck": false,
"Biometric": 0,
"Attributes": [
{
"Name": "userid",
"IsRequired": true
},
{
"Name": "displayname",
"IsRequired": true
},
{
"Name": "role",
"IsRequired": true
},
{
"Name": "identifier",
"IsRequired": true
},
{
"Name": "namespace",
"IsRequired": true
},
{
"Name": "issuer",
"IsRequired": true
}
],
"Restrictions": {
"SchemaId": null,
"SchemaName": null,
"SchemaVersion": null,
"IssuerDid": null,
"SchemaIssuerDid": null,
"CredentialDefinitionId": null,
"Attributes": [
{
"Name": "issuer",
"Value": "one37id.studio.com"
},
{
"Name": "namespace",
"Value": "com.one37id.studio.workplace.access"
}
]
}
}
]
}
}
]
},
...
X

Graph View