Import IdP metadata as OAuth2
To import an IdP metadata for OAuth2, you must execute the ImportOAuth command with the
--import
option to register the metadata.
This is a once-off operation to register
the IdP's OAuth2 endpoints in the GAS. Once the endpoints are registered in the database, you can
continue to configure your applications to use the IdP. For details about the ImportOAuth tool, go
to ImportOAuth.
Important:
If the IdP is using the OpenID Connect protocol, there is no need to use the ImportOAuth program as OpenID Connect has the metadata feature that allows Genero's OpenID Connect service to automatically fetch the metadata, including all the endpoint URLs, from the IdP. For more information on SSO implementation with OpenID Connect and OAuth2, see OpenID Connect/OAuth2 SSO.
Steps
If you need to add an extra parameter
for authentication, such as a domain, you can configure the custom parameter
--parameter
. For example, the following command will add the
"domain=mydomain.com
" string as an additonal parameter in the request sent to the
Instagram identity
provider.fglrun ImportOAuth --parameter domain=mydomain.com https://www.instagram.com
For details, go to ImportOAuth .