Open timothypratley opened 9 years ago
Do you mean redirect-new-auth
? redirect-on-auth
is an optional metadata key on credential maps.
yes :smiley:
OK, I see what you mean. I think the context is required insofar as the :default-landing-uri
is going to be (or should be?) defined in terms of it.
In any case, I guess we should apply all the same measures used in requires-scheme-with-proxy
to translate the resulting URL to use the appropriate scheme, etc. PR welcome.
Fortunately I am able to avoid this behavior by setting the flag to be false in the auth meta-data...
It seems unnecessary to use the entire context: (str (:context request) (-> request ::auth-config :default-landing-uri ))