| Products | Versions |
|---|---|
| TIBCO Streaming | 10.6 and later |
The basic steps to enable oauth2 (OIDC) authentication for AMS are:
ClientAPIListener = {
portNumber = ${ams.ClientAPIListener.portNumber:-2185}
secure = ${ams.ClientAPIListener.secure:-true}
}
CommunicationSecurity = {
keyStore = "/opt/certs/amskeystore.p12"
keyStorePassword = "*****"
keyPassword = "*****"
}
OpenIDConnectAuthenticationRealm {
IdentityToAMSProfileBinding = {
bindAction = "AUTO_CREATE"
autoCreateUsernameClaim = "email"
autoCreateUserEnabled = true
autoCreateDefaultRoles = "AMSAdmin"
autoCreateFilters = [
{
javaClass = "com.tibco.ep.ams.auth.AMSAutoCreateEmailFilter"
params = [
{
name = "domains"
value = "company.com"
}
]
}
]
}
IdentityProviders = {
providers = [
{
name = "AzureAD"
clientId = "57fdac31-baf5-****"
clientSecret = "Oz28Q~DxlpXO9*******"
issuer = "https://sts.windows.net/cde6fa59-abb3-******/v2.0/"
authorizationEndpoint = "https://login.microsoftonline.com/cde6fa59-abb3-*******/oauth2/v2.0/authorize"
tokenEndpoint = "https://login.microsoftonline.com/cde6fa59-abb3-*******/oauth2/v2.0/token"
}
]
}
}
...
AMSRealmList = [ OpenIDConnectAuthenticationRealm, LocalAuthenticationRealm ]