Hi @vignesh.ramesh,
As mentioned in this topic, unfortunately you cannot use a wildcard to match several callback URLs. Instead the suggested way to handle multiple routes is to use a single callback route (e.g. /callback) and redirect to the desired route from within your application:
-
Store the following in localStorage:
randomStateValue
:the URL pathname
. -
Pass
randomStateValue
as thestate
parameter in the authentication request. -
Check the state value in the callback, and retrieve the value for
randomStateValue
from localStorage. -
Perform the redirect from within your application.