e7a5c2df27
Feat: Add logout method to sdk ( #566 )
...
* Add endpoint to invalidate HTTP-Only cookie from the backend
* Add methods to the UserClient SDK for logout
* Remove session token fetch and add unit test for logout
* Update public router to use JWT middleware
* Add logout button to frontend. Route back to login page once logout is successful.
* Add a logout failur event
* Update logout logic in SDK
* Remove unneeded endpoint from main.go
* Update logoutlink reference
* Fix request path; undo change in package order
* Update common.css to incldue hanko-logout
* feat(fronend-sdk): remove cookie during cross-domain operations
* fix(frontend-sdk): No unauthorized error during logout, when the user is already logged out
* feat(backend): Create an audit log entry when the user logs off
* chore(frontend-sdk): re-generate jsdoc
* fix: Adjust logout response codes and the corresponding frontend sdk error handling
* chore(frontend-sdk): re-generate jsdoc
* feat: add logout endpoint specification to the docs
* Fix broken unit test
* Remove logout button from elements
* Add event listener on frontend to call the logout method from SDK
* Rollback changes to SecuredContent on e2e tests
* Update logout test on user
* Update quickstart/public/assets/css/common.css
Co-authored-by: bjoern-m <56024829+bjoern-m@users.noreply.github.com>
---------
Co-authored-by: Björn Müller <bjoern.mueller@hanko.io>
Co-authored-by: bjoern-m <56024829+bjoern-m@users.noreply.github.com>
2023-03-03 10:48:33 +01:00
2460fdc356
feat(config): allow multi word env var keys ( #617 )
2023-03-02 10:11:05 +01:00
b97f051009
Feat: display last used time of WebAuthn credentials ( #600 )
...
* display last used time of the webauthn credentials
2023-02-27 10:52:52 +01:00
a7733f0d16
chore(deps): bump github.com/labstack/echo-contrib in /backend
...
Bumps [github.com/labstack/echo-contrib](https://github.com/labstack/echo-contrib ) from 0.13.1 to 0.14.0.
- [Release notes](https://github.com/labstack/echo-contrib/releases )
- [Commits](https://github.com/labstack/echo-contrib/compare/v0.13.1...v0.14.0 )
---
updated-dependencies:
- dependency-name: github.com/labstack/echo-contrib
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 12:06:28 +00:00
eec7a473a5
feat: add third party integrations
...
add third party integrations
2023-02-23 13:05:05 +01:00
56a3fd3631
Merge branch 'main' into test-improve-backend-testing
...
# Conflicts:
# backend/go.mod
# backend/go.sum
2023-02-22 13:53:52 +01:00
9a7f025c8c
chore(deps): bump golang.org/x/net from 0.6.0 to 0.7.0 in /backend
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 10:31:15 +00:00
d5ddf75e1d
fix: update go version
2023-02-16 14:08:40 +01:00
687d95ded1
docs: bump go version to 1.18. add go generate to the other 'from source' section
2023-02-16 12:14:04 +01:00
736f1661f3
chore: remove unused file
2023-02-16 11:58:52 +01:00
e8a91d9f4c
test: improve user handler test
2023-02-16 11:49:25 +01:00
00c13b0d49
Merge branch 'main' into feat-backend-versioning
2023-02-16 11:33:12 +01:00
b0073e61b1
fix: go mod tidy to fix conflicts
2023-02-16 10:59:55 +01:00
66db1138d6
fix: add build_info folder to Dockerfile.debug
2023-02-16 10:13:59 +01:00
8c7ade0f7c
feat: add version command
2023-02-16 10:09:28 +01:00
5523f56afe
feat:mplement GetVersion. Fix the go workflow. Set go version in Dockerfile.debug
2023-02-16 09:13:02 +01:00
59372ff55b
feat: run go generate
2023-02-15 14:32:23 +01:00
d2484cfffa
feat: add version with go-generate
2023-02-15 13:48:05 +01:00
8484d3dc40
feat: add Version in main.
2023-02-15 08:31:59 +01:00
533912d453
chore(deps): bump github.com/go-webauthn/webauthn in /backend
...
Bumps [github.com/go-webauthn/webauthn](https://github.com/go-webauthn/webauthn ) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/go-webauthn/webauthn/releases )
- [Commits](https://github.com/go-webauthn/webauthn/compare/v0.7.0...v0.7.1 )
---
updated-dependencies:
- dependency-name: github.com/go-webauthn/webauthn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 20:11:20 +00:00
66126d68e7
chore: add Config documentation
2023-02-13 13:47:33 +01:00
7c3ef455cd
feat: add echo-contrib prometheus metrics. log: don't log /health and /metrics endpoints by default
2023-02-13 13:41:19 +01:00
456284f604
chore(deps): bump golang.org/x/text from 0.6.0 to 0.7.0 in /backend
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 19:07:58 +00:00
603c5e7386
fix: add same site attribute to workaround cookie
2023-02-08 09:21:13 +01:00
bcb406b025
Merge pull request #554 from teamhanko/feat-webauthn-backup-states
...
feat: store webauthn credential backup info
2023-02-07 10:19:23 +01:00
a8bd5c50c7
fix: change error message
2023-02-07 09:36:54 +01:00
02fa21f007
fix: fix memory aliasing in for loop
2023-02-07 09:22:01 +01:00
b9d5bf7a14
chore: rename order query parameter
2023-02-07 09:16:50 +01:00
6f102b31d4
test: fix tests
2023-02-06 16:01:29 +01:00
bc24258952
feat: add order query for user list
2023-02-06 15:51:58 +01:00
1a5c0671b5
test: fix webauthn handler test
2023-02-06 14:21:26 +01:00
d4aa9c86b9
feat: store webauthn credential backup info
2023-02-06 14:00:47 +01:00
080b4410e3
chore(deps): bump github.com/go-playground/validator/v10 in /backend
...
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator ) from 10.11.1 to 10.11.2.
- [Release notes](https://github.com/go-playground/validator/releases )
- [Commits](https://github.com/go-playground/validator/compare/v10.11.1...v10.11.2 )
---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 19:15:40 +00:00
0646b2bbfe
chore(deps): bump github.com/labstack/echo-jwt/v4 in /backend
...
Bumps [github.com/labstack/echo-jwt/v4](https://github.com/labstack/echo-jwt ) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/labstack/echo-jwt/releases )
- [Changelog](https://github.com/labstack/echo-jwt/blob/main/CHANGELOG.md )
- [Commits](https://github.com/labstack/echo-jwt/compare/v4.0.1...v4.1.0 )
---
updated-dependencies:
- dependency-name: github.com/labstack/echo-jwt/v4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-27 19:06:24 +00:00
29ebf4c099
Merge pull request #527 from teamhanko/dependabot/go_modules/backend/github.com/rs/zerolog-1.29.0
...
chore(deps): bump github.com/rs/zerolog from 1.28.0 to 1.29.0 in /backend
2023-01-27 10:01:57 +01:00
f0ff53794a
chore(deps): bump github.com/rs/zerolog in /backend
...
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog ) from 1.28.0 to 1.29.0.
- [Release notes](https://github.com/rs/zerolog/releases )
- [Commits](https://github.com/rs/zerolog/compare/v1.28.0...v1.29.0 )
---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 19:06:46 +00:00
ae12005755
chore(deps): bump github.com/gofrs/uuid in /backend
...
Bumps [github.com/gofrs/uuid](https://github.com/gofrs/uuid ) from 4.3.1+incompatible to 4.4.0+incompatible.
- [Release notes](https://github.com/gofrs/uuid/releases )
- [Commits](https://github.com/gofrs/uuid/compare/v4.3.1...v4.4.0 )
---
updated-dependencies:
- dependency-name: github.com/gofrs/uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-26 19:06:37 +00:00
9a1e42c404
Merge pull request #522 from teamhanko/feat-add-user-admin-endpoints
...
feat: add query params to search users
2023-01-26 17:29:23 +01:00
fd138e740d
fix(backend): add 'emails' section to Config.md ( #523 )
...
* fix(backend): add 'emails' section to Config.md
2023-01-26 16:56:51 +01:00
112602eaef
feat: remove unnecessary query param
2023-01-26 16:38:03 +01:00
b129bfc407
Merge branch 'main' into feat-add-user-admin-endpoints
2023-01-26 12:09:30 +01:00
01e67a0c53
test: fix tests
2023-01-26 11:31:52 +01:00
b52f6db76b
feat: add query params to search users
2023-01-26 11:27:44 +01:00
aabb1346b6
chore(deps): bump github.com/gomodule/redigo in /backend
...
Bumps [github.com/gomodule/redigo](https://github.com/gomodule/redigo ) from 1.8.2 to 1.8.9.
- [Release notes](https://github.com/gomodule/redigo/releases )
- [Commits](https://github.com/gomodule/redigo/compare/v1.8.2...v1.8.9 )
---
updated-dependencies:
- dependency-name: github.com/gomodule/redigo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 19:07:34 +00:00
62a0fbf3f7
Merge pull request #507 from teamhanko/chore-update-echo
...
chore: update echo and switch the deprecated jwt middleware with echo…
2023-01-25 15:55:26 +01:00
75eb675fab
fix: fix merge conflicts
2023-01-25 14:15:57 +01:00
a8b8847e70
chore: update echo and switch the deprecated jwt middleware with echo-jwt/v4
2023-01-25 12:59:55 +01:00
6238e0e902
chore(deps): bump github.com/knadh/koanf from 1.4.4 to 1.5.0 in /backend
...
Bumps [github.com/knadh/koanf](https://github.com/knadh/koanf ) from 1.4.4 to 1.5.0.
- [Release notes](https://github.com/knadh/koanf/releases )
- [Commits](https://github.com/knadh/koanf/compare/v1.4.4...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/knadh/koanf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 10:55:21 +00:00
595b0e3ab3
Merge pull request #496 from teamhanko/dependabot/go_modules/backend/github.com/gobuffalo/pop/v6-6.1.1
...
chore(deps): bump github.com/gobuffalo/pop/v6 from 6.1.0 to 6.1.1 in /backend
2023-01-25 11:54:13 +01:00
f5adfed572
Merge branch 'main' into feat-basic-rate-limiting
...
# Conflicts:
# backend/config/config.go
# backend/handler/passcode.go
# frontend/frontend-sdk/src/lib/client/PasscodeClient.ts
# frontend/frontend-sdk/src/lib/client/PasswordClient.ts
# frontend/frontend-sdk/tests/lib/client/PasswordClient.spec.ts
2023-01-25 11:08:29 +01:00