Configuring auto consent

Before you begin

This task assumes that you have enabled the OAuth 2.0 feature and configured an OAuth service provider.

About this task

You can authorize an OAuth client without the approval of the resource owner by enabling the auto authorization feature of the WebSphere® Application Server OAuth service provider.

Procedure

  1. Define the following parameter in the OauthConfigSample.xml OAuth provider configuration file.
    <parameter name="oauth20.autoauthorize.param" type="ws" customizable="false">
       <value>autoauthz</value>
    </parameter>
  2. Define one or more OAuth clients that you want auto authorized in the provider configuration file.
    <parameter name="oauth20.autoauthorization.clients" type="ws" customizable="true">
       <value>client01</value>
       <value>client02</value>
    </parameter>

Results

The client01 and client02 OAuth clients are now configured for auto authorization.

Ícone que indica o tipo de tópico Tópico de Tarefa



Ícone de registro de data e hora Última atualização: July 9, 2016 7:57
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=twbs_oauthconfigautoauth
Nome do arquivo: twbs_oauthconfigautoauth.html