About the WARNING message output by / consent
search cancel

About the WARNING message output by / consent

book

Article ID: 135618

calendar_today

Updated On:

Products

API SECURITY CA API Gateway Precision API Monitoring Module for API Gateway (Layer 7) CA API Gateway Enterprise Service Manager (Layer 7) STARTER PACK-7 CA Microgateway CA API Gateway

Issue/Introduction

receive the following alert when doing [auth/oauth/v2/authorize/consent].


2019-07-18T12:56:04.041+0900 WARNING 1731 com.l7tech.server.policy.assertion.ServerSetVariableAssertion: 150: Array subscript (1) in login_hint out of range (0 values); returning no values,/opt/SecureSpan/Gateway/node/default/var/logs/ssg_0_0.log


2019-07-18T12:56:04.043+0900 WARNING 1731 com.l7tech.server.message: Message processed successfully,/opt/SecureSpan/Gateway/node/default/var/logs/ssg_0_0.log


What are they?


Environment

Release :

Component : API GATEWAY

CA API Management OAuth Toolkit

Resolution

This is just a warning which comes when OAuth Assertion try to fetch a parameter login_hint during /consent call (this parameter is optional). There is a Regular expression which compares login_hint to a specif pattern. If not find it (as in this case), it writes a warning message. This Warning cannot be removed because that particular assertion is used in other places also.