15 Commits

Author SHA1 Message Date
5d20650c09 chore: re-generate jsdoc (#631) 2023-03-03 11:18:55 +01:00
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
8e25bff45d Adjust method to parse the retry after header (#524)
* fix(frontend-sdk): correct method to parse the retry after header and add tests
2023-01-27 10:50:11 +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
1f6edcf6de feat: remove platform attachment requirement on registration 2022-11-23 14:57:36 +01:00
a8a4830ce3 fix: conditional ui promise issues 2022-10-21 14:26:19 +02:00
302ffaf701 test: add frontend sdk tests (#266) 2022-10-13 12:37:05 +02:00
2df6f9118c Feat conditional UI (#255)
* feat: Add conditional UI support
2022-10-07 15:32:46 +02:00
a6f677ad68 docs: provide only the latest version of the frontend sdk docs 2022-09-15 13:39:52 +02:00
2837845227 docs: split api spec into public and admin apis 2022-09-13 14:00:42 +02:00
81ac3190d3 docs: fix links 2022-09-12 15:35:03 +02:00
9fa39f8cfe docs(frontend-sdk): regenerate docs for v0.0.2-alpha in correct destination 2022-09-12 15:35:03 +02:00
13d6b25f72 docs: move documentation into monorepo 2022-09-12 13:15:42 +02:00