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

Feature default login logout function #4

Merged
merged 6 commits into from
Jul 27, 2022

Conversation

paganotoni
Copy link
Member

@paganotoni paganotoni commented Jun 12, 2022

This PR adds default login/logout handlers by using the cookie storage. It also provides a way to pull the JWT-encoded cookie value. This would reduce the friction to get started with Maildoor.

While on it I noticed we needed to store the cookies in a secure way to avoid these being modified. Decided to go with encoding with JWT to avoid another dependency.

loginhooks.go Show resolved Hide resolved
@paganotoni paganotoni merged commit d833c90 into main Jul 27, 2022
@paganotoni paganotoni deleted the feature-default-login-logout branch July 27, 2022 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants