Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authentication does not work with tokenPersistence as cookie #3

Open
srdgame opened this issue Dec 5, 2013 · 0 comments
Open

authentication does not work with tokenPersistence as cookie #3

srdgame opened this issue Dec 5, 2013 · 0 comments

Comments

@srdgame
Copy link
Contributor

srdgame commented Dec 5, 2013

I am using the example files, which I set the options.tokenPersistence ot 'cookie'. Then I created a page named as aa.lp following the reference manual:

<title>Login</title> <% cgilua.enablesession () if not cgilua.authentication.username() then cgilua.redirect(cgilua.authentication.checkURL()) else -- continues with the application flow end %> dondoanfdafd

But the login fails, and the reason is there is no Set-Cookie in 302 redirection packet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant