Skip to content

Grant Methods

SoapUI supports all of the OAuth 2.0 grant types. Below you can find additional information on their properties. For more information on configuring OAuth2 authorization, see OAuth2 Tutorial.

Implicit Grant

The Implicit Grant flow is used when the user-agent will access the protected resource directly, such as in a rich web application or a mobile app.

Implicit Grant

OptionDescription
OAuth 2 FlowThe OAuth 2 method.
Client IdentificationThe string identifying the client.
Authorization URIThe authorization server URI.
Redirect URIThe URI you will be redirected to after successful authorization.
ScopeThe full scope string defining the requested permissions.
Get Access TokenClick this button to retrieve the access token.
AutomationClick this button to open the Automated Token Profile Editor.

Authorization Code Grant

The Authorization Code flow is used when the client is a third-party server or web application, which performs the access to the protected resource.

Authorization Code Grant

OptionDescription
OAuth 2 FlowThe OAuth 2 method.
Client IdentificationThe string identifying the client. This us not user login.
Client SecretThe secret string for the client. This us not user password.
Authorization URIThe authorization server URI.
Access Token URIThe URI to get access token from.
Redirect URIThe URI you will be redirected to after successful authorization.
ScopeThe full scope string defining the requested permissions.
Get Access TokenClick this button to retrieve the access token.
AutomationClick this button to open the Automated Token Profile Editor.

Resource Owner Password Credentials Grant

The password/Resource Owner Password Credentials grant takes the uses the resource owner password to obtain the access token. Optionally, a refresh token is also sent. The password is then discarded.

Authorization Code Grant

OptionDescription
OAuth 2 FlowThe OAuth 2 method.
Resource Owner NameResource owner identification.
Resource Owner PasswordPassword used by the resource owner.
Client IdentificationThe string identifying the client. This us not user login.
Client SecretThe secret string for the client. This us not user password.
Access Token URIThe URI to get access token from.
ScopeThe full scope string defining the requested permissions.
Get Access TokenClick this button to retrieve the access token.
AutomationClick this button to open the Automated Token Profile Editor.

Client Credentials Grant

The Client Credentials grant type is used when the client is requesting access to protected resources under its control.

Authorization Code Grant

OptionDescription
OAuth 2 FlowThe OAuth 2 method.
Client IdentificationThe string identifying the client. This us not user login.
Client SecretThe secret string for the client. This us not user password.
Access Token URIThe URI to get access token from.
ScopeThe full scope string defining the requested permissions.
Get Access TokenClick this button to retrieve the access token.
AutomationClick this button to open the Automated Token Profile Editor.