The Open API specification for Synapse is now available for download!

Download Open API Spec

OAuthValidationRequest

org.sagebionetworks.repo.model.oauth.OAuthValidationRequest

Request for an OAuth2 user validation.

Field Type Description
provider OAuthProvider Supported OAuth providers
authenticationCode STRING The authorization code passed with the redirectUrl after successful user authentication from a 3rd party OAuth provider. This code is used by Synapse to lookup the user's information from the OAuthProvider.
redirectUrl STRING This must be the same redirect URL used to in the first step. This parameter is required by Google but not by all oauth providers.