How to block access URL https://x.x.x.x/oauth/idp/.well-known/openid-configuration

How to block access URL https://x.x.x.x/oauth/idp/.well-known/openid-configuration

book

Article ID: CTX584139

calendar_today

Updated On:

Description

This article will guide on how to block access to the URL (https://x.x.x.x/oauth/idp/.well-known/openid-configuration), where x.x.x.x is the URL of the gateway.


Instructions

  1. Use CLI tool to SSH NetScaler 
  2. Using the following command (a.b.c.d is the name of gateway virtual server)
enable ns feature RESPONDER

add responder policy oauth_drop "HTTP.REQ.URL.PATH.GET(1).EQ(\"oauth\")" RESET

bind vpn vserver a.b.c.d -policy oauth_drop -priority 100 -gotoPriorityExpression END -type AAA_REQUEST