Enable and disable OAuth authentication
The oauth-auth stanza entry, located in the [oauth] stanza of the WebSEAL configuration file, enables and disables the OAuth authentication method. By default, OAuth authentication is disabled.
Steps
- Stop the WebSEAL server.
- Edit the WebSEAL configuration file. In the [oauth] stanza, specify the protocols to support in the network environment. The protocols are shown in the following table.
Protocol to support Configuration file entry HTTP oauth-auth = http HTTPS oauth-auth = https Both HTTP and HTTPS oauth-auth = both Disable OAuthc authentication oauth-auth = none
For example, to support both HTTP and HTTPS protocols:
[oauth] oauth-auth = both
- Restart the WebSEAL server.
Parent topic: ws-trust authentication