Jump to content
Welcome to our new Citrix community!

append username to url post authentication


Recommended Posts

Hi, I am trying to achieve the following and hoping to get some pointers.

 

1. User logons to url https://abc.com (LB VS)

2. User gets redirected to logon using AD username and password (Authentication VS)

3. NetScaler redirects user back to https://abc.com

 

I have got the above scenario working.

Is it possible to append the AD username variable to the returned url in step 3?

E.g. https://abc.com?user=username

 

 

 

 

Link to comment
Share on other sites

4 hours ago, Carl Stalhood1709151912 said:

If all on the same appliance, then you can use AAA.LOGIN.USERNAME in a rewrite policy expression.

 

Hi Carl, thanks for the reply.

I assume the rewrite policy needs to bound to the LB VS?

When I try to bind the rewrite policy as a Response type I got "policy cannot be bound to specified policy label".

Is this due to using SSL traffic from the NetScaler to the backend web servers?

Link to comment
Share on other sites

13 hours ago, Carl Stalhood1709151912 said:

Add the request rewrite to the LB vserver to add the username to the original URL that the user requested.

 

Thanks Carl.

I have bound the request rewrite to the LB VS and getting partial success in appending additional info into the URL.

The issue is AAA.LOGIN.USERNAME is returning empty value.

My rewrite action expression is as below:

"user=" + AAA.LOGIN.USERNAME

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...