12 Commits

Author SHA1 Message Date
4c78b51ec7 fix: merge conflicts. remove import in quickstart 2023-03-03 12:49:56 +01:00
d901b901b1 fix(quickstart): use correct cursor for the logout link (#632) 2023-03-03 11:41:15 +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
177bebf96b fix: use hanko elements as esmodule in quickstart. add cors config to elements container. should fix e2e tests 2023-03-01 13:38:11 +01:00
cab69f63fe chore(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 in /quickstart
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 12:28:43 +00: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
031f4f2590 Setup tmp TARGETARCH env in quickstart Dockerfile 2022-11-27 20:35:25 +01:00
774239a21c Build images for both amd64 and arm64 archs. 2022-11-27 20:03:24 +01:00
a37219a032 refactor: move frontend projects to frontend folder 2022-11-10 10:58:31 +01:00
25442f540e Update quickstart/README.md
Co-authored-by: Frederic Jahn <frederic.jahn@hanko.io>
2022-11-07 18:02:51 +01:00
4bf69b8b0e docs: update readmes
Add a section in the main readme giving giving some hints on how to get
started. Restructure the backend readme and add sections for running a
database and an SMTP server. Add section with links to frontend framework
integration guides and example applications in the elements readme.
2022-11-04 13:57:25 +01:00
acb0275b14 refactor: rename example to quickstart 2022-10-21 17:23:38 +02:00