Skip to content

feat: delete cookie when client logout#545

Merged
LouisClisson merged 14 commits intofeat/authentication-with-openid-connectfrom
feat/identify-client-logout
Nov 25, 2020
Merged

feat: delete cookie when client logout#545
LouisClisson merged 14 commits intofeat/authentication-with-openid-connectfrom
feat/identify-client-logout

Conversation

@LouisClisson
Copy link
Contributor

@LouisClisson LouisClisson commented Nov 20, 2020

Pull Request checklist:

  • Write an explicit title for the Pull Request, following Conventional Commits specification
  • Test manually the implemented changes
  • Review my own code (indentation, syntax, style, simplicity, readability)
  • Wonder if you can improve the existing code

@LouisClisson LouisClisson force-pushed the feat/identify-client-logout branch from 22dd505 to 84674f6 Compare November 20, 2020 09:33
@LouisClisson LouisClisson requested a review from ghusse November 23, 2020 16:00
@LouisClisson LouisClisson assigned ghusse and unassigned LouisClisson Nov 24, 2020
@ghusse ghusse force-pushed the feat/identify-client-logout branch from 68b7ed2 to 7ef0ea9 Compare November 24, 2020 10:36
@ghusse ghusse assigned LouisClisson and unassigned ghusse Nov 24, 2020
@LouisClisson LouisClisson assigned ghusse and unassigned LouisClisson Nov 24, 2020
@ghusse ghusse assigned LouisClisson and unassigned ghusse Nov 25, 2020
@LouisClisson LouisClisson assigned ghusse and unassigned LouisClisson Nov 25, 2020
Copy link
Contributor

@ghusse ghusse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅  Code review

🆗 , thanks for the changes

✅  Automatic tests

👌   perfect

✅  Manual tests

I tested in these cases:

  • when the cookie is present, it removes it correctly
  • when the cookie is not there, it does not throw an error

✅  PR title

🆗

@ghusse ghusse assigned LouisClisson and unassigned ghusse Nov 25, 2020
@LouisClisson LouisClisson merged commit 09ae7ce into feat/authentication-with-openid-connect Nov 25, 2020
@LouisClisson LouisClisson deleted the feat/identify-client-logout branch November 25, 2020 16:39
forest-bot added a commit that referenced this pull request Nov 26, 2020
# [8.0.0-beta.3](v8.0.0-beta.2...v8.0.0-beta.3) (2020-11-26)

### Features

* delete cookie when client logout ([#545](#545)) ([#560](#560)) ([5188206](5188206))
ghusse pushed a commit that referenced this pull request Nov 26, 2020
forest-bot added a commit that referenced this pull request Feb 22, 2021
# [8.0.0](v7.10.1...v8.0.0) (2021-02-22)

### Bug Fixes

* **authentication:** error when authenticating with an invalid token in cookies ([#611](#611)) ([e6d6737](e6d6737))
* send back response to frontend instead of redirecting ([#609](#609)) ([6f37521](6f37521))
* user being disconnected after 33min instead of 14 days ([#610](#610)) ([80580e7](80580e7))
* **auth:** oidc authentication when running multiple instances of the agent ([#608](#608)) ([ef25acb](ef25acb))

### Features

* merge master into beta ([131cb73](131cb73))
* **authentication:** remove old authentication routes ([#624](#624)) ([b0ffc50](b0ffc50))
* **authentication:** return a specific error during authorization if received an error about 2FA ([#622](#622)) ([3a59a12](3a59a12))
* **permissions:** handle mutliple permissions cache ([7114244](7114244))
* authenticate with openid connect ([#555](#555)) ([72b2cc8](72b2cc8))
* delete cookie when client logout ([#545](#545)) ([#560](#560)) ([5188206](5188206))

* feat!: ease the multi-database setup by providing a map of connections on liana.init (#525) ([2e9dc94](2e9dc94)), closes [#525](#525)

### BREAKING CHANGES

* **authentication:** all previous authentication routes have been removed
* onlyCrudModule, modelsDir, secretKey, authKey options are not supported anymore by Liana.init().
Instead of sequelize/mongoose & Sequelize/Mongoose, connections & objectMapping are now required.
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

Comments