oauth-servers

This command configures the OAuth Servers table, which configures an OAuth 2.0 server.

Syntax

(config-system)# oauth-servers <Index>
(oauth-servers-<Index>)# 

Command

Description

Index

Defines the table row index.

application-id

Defines the Application (client) ID.

authorization-endpoint

Defines the authorization endpoint URL.

base-url

Defines the base URL.

devicecode-endpoint

Defines the device code endpoint URL.

keys-endpoint

Defines the key endpoint URL.

keys-refresh-time

Defines the endpoint key refresh time.

logout-endpoint

Defines the logout endpoint URL.

network-interface

Defines the local IP interface.

rest-api-aud-prefix

Defines the REST API 'aud' prefix.

scope

Defines the scope to access resources.

secret-key

Defines the secret key (or client secret) that the device sends to the OAuth server for authentication.

server-name

Defines the OAuth server name.

server-type {azure|standard-oauth-2.0}

Defines the OAuth server type.

tls-context

Defines the TLS Context.

token-endpoint

Defines the token endpoint URL.

verify-certificate {disable|enable}

Verifies the TLS certificate with the OAuth server.

Command Mode

Privileged User

Example

This example configures an OAuth server:

(config-system)# oauth-servers 0
(oauth-servers-0)# server-name Azure AD for SIP
(oauth-servers-0)# server-type azure