diff --git a/src/main/resources/plugin.properties b/src/main/resources/plugin.properties index 564f241..0870828 100644 --- a/src/main/resources/plugin.properties +++ b/src/main/resources/plugin.properties @@ -5,3 +5,4 @@ description=${project.description} class=io.gravitee.resource.oauth2.generic.OAuth2GenericResource type=resource icon=oauth2.svg +category=OAuth2 diff --git a/src/main/resources/schemas/schema-form.json b/src/main/resources/schemas/schema-form.json index af2e5f6..575af6d 100644 --- a/src/main/resources/schemas/schema-form.json +++ b/src/main/resources/schemas/schema-form.json @@ -1,6 +1,6 @@ { "type" : "object", - "id" : "urn:jsonschema:io:gravitee:resource:oauth2:generic:configuration:OAuth2ResourceConfiguration", + "$schema": "http://json-schema.org/draft-07/schema#", "properties" : { "authorizationServerUrl": { "title": "Authorization server URL", @@ -61,9 +61,7 @@ "title": "Client Secret", "description": "The client secret used for token introspection.", "type" : "string", - "x-schema-form": { - "type": "password" - } + "format": "password" }, "useClientAuthorizationHeader": { "title": "Use HTTP header for client authorization",