use public redirect url