-
Notifications
You must be signed in to change notification settings - Fork 23
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
How do I "remove" a session? #22
Comments
Hey @abailly, I'm currently using |
Hello,
It's very simple actually... The tricky part is to understand where the session comes from. |
@abailly Thanks for your reply ! My api is defined like this
And for the moment the handler looks like yours : Though, I've got this error :
And I don't quite understand where the problem is 🤔 |
I have similar code and it works like a charm, except the action is
it might be that |
I was inspired by what's in the Here is the code if you have the time to take a quick look (sorry it's a bit drafty...) |
It compiles OK here... Might be a version problem? |
Arf, damned >.< Which stackage resolver are you using ? |
7.10
…--
Arnaud Bailly
twitter: abailly
skype: arnaud-bailly
linkedin: http://fr.linkedin.com/in/arnaudbailly/
On Fri, Jan 13, 2017 at 10:30 PM, Thomas Crevoisier < ***@***.***> wrote:
Arf, damned >.< Which resolver are you using ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACdHTOYf6-Io_P1grZVS-q9343BGgduks5rR4qCgaJpZM4K8OI8>
.
|
Do you point directly to the github repo of |
hmm, yes.
…--
Arnaud Bailly
twitter: abailly
skype: arnaud-bailly
linkedin: http://fr.linkedin.com/in/arnaudbailly/
On Fri, Jan 13, 2017 at 10:36 PM, Thomas Crevoisier < ***@***.***> wrote:
Do you point directly to the github repo of servant-auth-cookie ? I don't
find the version 4.2 in this snapshot
<https://www.stackage.org/haddock/lts-7.10/servant-auth-cookie-0.3.2/Servant-Server-Experimental-Auth-Cookie.html>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACdHTTfrWLoiz0LQSHsV7AE0aZvrQOuks5rR4vXgaJpZM4K8OI8>
.
|
Could you share your |
It's really simple:
resolver: lts-7.10
packages:
- 'assets'
# temporary reference to 3rdpaerty libraries
# TODO remove once library is published
- servant-auth-cookie
- system-extra
- hdo
# propellor needs patching to handle remote execution without local
commits
- propellor
extra-deps:
- hjson-1.3.2
- http-client-0.4.31.2
I think the problem comes from the version: I use a version from my fork
as a submodule and it is not uptodate with HEAD.
…--
Arnaud Bailly
twitter: abailly
skype: arnaud-bailly
linkedin: http://fr.linkedin.com/in/arnaudbailly/
On Fri, Jan 13, 2017 at 11:06 PM, Thomas Crevoisier < ***@***.***> wrote:
Could you share your stack.yaml please ? ^^
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACdHTZ28gf1YjEPvZUY60Zp93e8zdzwks5rR5L9gaJpZM4K8OI8>
.
|
There is a comment hinting at some way to do that:
but no corresponding function.
The text was updated successfully, but these errors were encountered: