19 Commits

Author SHA1 Message Date
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
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
eec7a473a5 feat: add third party integrations
add third party integrations
2023-02-23 13:05:05 +01:00
4fb31029e7 doc: document metrics endpoint in admin api 2023-02-14 22:18:08 +01:00
b9d5bf7a14 chore: rename order query parameter 2023-02-07 09:16:50 +01:00
bc24258952 feat: add order query for user list 2023-02-06 15:51:58 +01:00
1a4f2bf81b docs: fix admin spec 2023-01-26 17:08:26 +01:00
7f031eccf0 docs: remove removed query from admin spec 2023-01-26 17:07:17 +01:00
dcd42946c9 docs: update admin spec 2023-01-26 12:04:27 +01:00
ca62cf421f feat: introduce hanko profile element and related api changes (#495)
* feat: introduce hanko profile element and related api changes
2023-01-25 10:55:23 +01:00
cdee91d7da feat: add query parameter for searching audit logs 2023-01-12 17:28:09 +01:00
1f6edcf6de feat: remove platform attachment requirement on registration 2022-11-23 14:57:36 +01:00
66c7eb58c9 chore: update admin api spec 2022-11-17 14:15:42 +01:00
31dfa026c8 docs: set api spec version 2022-11-01 14:35:28 +01:00
7d12918b09 docs: misc api spec fixes, adjustments (#303) 2022-10-17 11:17:41 +02:00
326c9aecb9 docs: add audit_log route to admin spec 2022-09-14 16:15:08 +02:00
87a4003bae docs(api-spec): fix typo in admin api 2022-09-13 14:00:42 +02:00
2837845227 docs: split api spec into public and admin apis 2022-09-13 14:00:42 +02:00
13d6b25f72 docs: move documentation into monorepo 2022-09-12 13:15:42 +02:00