artanis
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does #:with-auth support redirection?


From: Mortimer Cladwell
Subject: Re: Does #:with-auth support redirection?
Date: Fri, 20 Aug 2021 06:13:34 -0400

Thanks Nala. That was too easy.
Mortimer

On Fri, Aug 20, 2021 at 12:47 AM Nala Ginrut <mulei@gnu.org> wrote:

Hi Motimer!

Mortimer Cladwell writes:

> Thanks Nala!
> Doesn't seem to work for me though.
> If I redirect using #:with-auth (current-myhost), looks like the URL is
> duplicated - I am redirected to (on AWS):
>
> http://13.59.26.70:3000/http://13.59.26.70:3000

No, the correct usage should be:
---------------------cut-----------------------
#:with-auth "the_url_when_auth_failed"
---------------------end-----------------------

In such a case, you don't have to call (current-myhost) by yourself.

Best regards.

--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
Fingerprint F53B 4C56 95B5 E4D5 6093 4324 8469 6772 846A 0058

reply via email to

[Prev in Thread] Current Thread [Next in Thread]