+

Search Tips   |   Advanced Search

OAuth full profile provider configuration equivalents

The following tables map the Liberty profile server.xml file elements and attributes to the equivalent full profile provider parameters in the provider configuration file.

The following table illustrates the Liberty profile attributes and the equivalent full profile parameters for the oauthProvider element.

Liberty profile attribute name Full profile equivalent parameter
authorizationGrantLifetime oauth20.max.authorization.grant.lifetime.seconds
authorizationCodeLifetime oauth20.code.lifetime.seconds
authorizationCodeLength oauth20.code.length
accessTokenLifetime oauth20.token.lifetime.seconds
accessTokenLength oauth20.access.token.length
issueRefreshToken oauth20.issue.refresh.token
refreshTokenLength oauth20.refresh.token.length
mediatorClassname oauth20.mediator.classnames
allowPublicClients oauth20.allow.public.clients
grantType oauth20.grant.types.allowed
authorizationFormTemplate oauth20.authorization.form.template
authorizationErrorTemplate oauth20.authorization.error.template
customLoginURL oauth20.authorization.loginURL
autoAuthorizeParam oauth20.autoauthorize.param
autoAuthorizeClient oauth20.autoauthorize.clients
clientURISubstitutions oauth20.client.uri.substitutions
filter Filter
oauthOnly oauthOnly
includeTokenInSubject includeToken
characterEncoding characterEncoding
clientTokenCacheSize oauth20.token.userClientTokenLimit

The following table illustrates the Liberty profile attributes and the equivalent full profile parameters for the databaseStore element.

Liberty profile attribute name Full profile equivalent parameter
cleanupExpiredTokenInterval oauthjdbc.CleanupInterval


Parent topic: OAuth 2.0 services

Tasks:

  • Defining an OAuth service provider