Skip to main content

DiscoverOAuth2Server

Discover an OAuth authorization server which is available for client configuration.

Synopsis

[Actions]
DiscoverOAuth2Server:IssuerEndpoint=IssuerEndpoint,SSLConfiguration=SSLConfigName

Where:

  • IssuerEndpoint is the endpoint URL used to identify the authorization server.

  • SSLConfigName is the SSL configuration used to connect to the authorization server.

Description

DiscoverOAuth2Server discovers the server metadata for a client and saves the server metadata in an existing or new OAuth2.ServerDefinitionOpens in a new tab instance. This action should be used on the client to discover the server. InterSystems IRIS® discovers the server when processing the [Actions] section during a configuration merge. During the merge, InterSystems IRIS runs %SYS.OAuth2.Registration.Discover()Opens in a new tab to discover the server defined by DiscoverOAuth2Server.

Changing this Operation

This operation is designed to be used during a configuration merge. You can change DiscoverOAuth2Server by editing the merge file in a text editor (as described in Editing the Active CPF).

See Creating a Client Configuration for more information.

FeedbackOpens in a new tab