33 Commits

Author SHA1 Message Date
6af695345b Feat: js flow api sdk (#2097) 2025-04-24 22:52:28 +02:00
fc86a5f594 chore: update go version to 1.24 2025-03-13 13:32:56 +01:00
7e1ac287ab Feat periodic session checks (#2032) 2025-03-06 15:07:56 +01:00
fbc4451051 feat: let quickstart use session validate endpoint (#2014) 2025-01-06 11:09:26 +01:00
26562d9def chore(deps): bump golang.org/x/crypto in /quickstart
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.21.0...v0.31.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-16 12:06:48 +01:00
2539c04aef ci: adjust dockerfile FROM commands
This change hopefully satisfies GitHub's check warnings for
Dockerfiles ("The 'as' keyword should match the case of the
'from' keyword").
2024-11-06 15:10:24 +01:00
601ffaae92 Introduce Flowpilot - integration (#1532)
This pull request introduces the new Flowpilot system along with several new features and various improvements. The key enhancements include configurable authorization, registration, and profile flows, as well as the ability to enable and disable user identifiers (e.g., email addresses and usernames) and login methods.

---------

Co-authored-by: Frederic Jahn <frederic.jahn@hanko.io>
Co-authored-by: Lennart Fleischmann <lennart.fleischmann@hanko.io>
Co-authored-by: lfleischmann <67686424+lfleischmann@users.noreply.github.com>
Co-authored-by: merlindru <hello@merlindru.com>
2024-08-06 16:07:29 +02:00
7934767655 chore(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 in /quickstart
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 15:54:56 +02:00
788717a0bd chore(deps): bump github.com/lestrrat-go/jwx/v2 in /quickstart
Bumps [github.com/lestrrat-go/jwx/v2](https://github.com/lestrrat-go/jwx) from 2.0.19 to 2.0.21.
- [Release notes](https://github.com/lestrrat-go/jwx/releases)
- [Changelog](https://github.com/lestrrat-go/jwx/blob/develop/v2/Changes)
- [Commits](https://github.com/lestrrat-go/jwx/compare/v2.0.19...v2.0.21)

---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx/v2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-08 21:45:51 +01:00
28cd7ba243 chore(deps): bump github.com/lestrrat-go/jwx/v2 in /quickstart
Bumps [github.com/lestrrat-go/jwx/v2](https://github.com/lestrrat-go/jwx) from 2.0.11 to 2.0.19.
- [Release notes](https://github.com/lestrrat-go/jwx/releases)
- [Changelog](https://github.com/lestrrat-go/jwx/blob/develop/v2/Changes)
- [Commits](https://github.com/lestrrat-go/jwx/compare/v2.0.11...v2.0.19)

---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx/v2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-24 15:30:12 +01:00
368006951c chore(deps): bump golang.org/x/crypto in /quickstart
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 17:21:42 +01:00
a382847101 chore(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 in /quickstart
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lfleischmann <67686424+lfleischmann@users.noreply.github.com>
2023-10-12 12:17:12 +02:00
3e564a5cb1 chore(deps): bump github.com/lestrrat-go/jwx/v2 in /quickstart
Bumps [github.com/lestrrat-go/jwx/v2](https://github.com/lestrrat-go/jwx) from 2.0.2 to 2.0.11.
- [Release notes](https://github.com/lestrrat-go/jwx/releases)
- [Changelog](https://github.com/lestrrat-go/jwx/blob/develop/v2/Changes)
- [Commits](https://github.com/lestrrat-go/jwx/compare/v2.0.2...v2.0.11)

---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx/v2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-14 17:25:02 +00:00
5d85581077 feat: update quickstart dockerfile 2023-06-06 10:25:50 +02:00
a665fb73ba fix(quickstart): redirect to login after account deletion 2023-05-30 16:44:11 +02:00
404c736f77 Improve custom events and update example apps (#768) 2023-05-30 13:37:30 +02:00
fdf665eabb Session events (#725)
* feat(frontend-sdk): introduce events
* feat(elements): change hanko-elements register function
2023-04-28 14:14:47 +02:00
91c0f33286 doc: add comment about flag nature of env var. 2023-03-14 17:08:21 +01:00
fdf1099cd1 feat: make conditional ui available via env var in quickstart 2023-03-14 16:18:55 +01:00
b9742a4b86 chore(deps): bump golang.org/x/net in /quickstart
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20211112202133-69e39bad7dc2 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 07:49:52 +00:00
efe4228645 fix: quickstart 2023-03-03 14:15:27 +01:00
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