OAuth2.Server.REST acts as the router for REST requests to the authorization server. The /oauth2/authorize is not really a REST endpoint since it uses redirection. Thus we special case the authorization endpoint.
Specifies the character set to be used for all authorization server responses.
Specifies if input %request.Content is to be converted from its original character set on input.
Turn on CORS processing for the authorization server.