Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarification needed on go login example and session storage suitability for production in documentation #323

Open
Clasyc opened this issue Apr 9, 2024 · 2 comments

Comments

@Clasyc
Copy link

Clasyc commented Apr 9, 2024

In the official documentation, I came across a Go login example at https://zitadel.com/docs/examples/login/go.

It recommends using v3:

go get -u github.com/zitadel/zitadel-go/v3

However, if I'm not mistaken, the next branch, which includes this example, is still a WIP. This leaves me a bit confused. Should I be using it?

Additionally, I noticed that the session storage, as outlined here: https://github.com/zitadel/zitadel-go/blob/next/pkg/authentication/session.go, is not recommended for production use.

Does this imply that I should avoid using this implementation and instead develop my own solution? Ideally, the documentation should explicitly state if it is not suitable for production.

Perhaps I'm mistaken; I'm just looking for clarification

@fforootd
Copy link
Member

Hm good question. Let us ask @livio-a about this.

@heikkilamarko
Copy link

heikkilamarko commented Apr 22, 2024

I've been wondering about this as well. v3 doesn't feel production-ready, yet the official docs/examples use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants