solonovamax
06/27/2025, 10:47 PMAleksei Tirman [JB]
06/30/2025, 8:51 AMDumitru Preguza
06/30/2025, 10:45 AMsolonovamax
07/01/2025, 2:39 PMI haven’t found a proper end-to-end explanation for integrating Zitadel with Ktor.yeah, I'm finding it hard to find a good end-to-end explanation of oauth2 in general that I can roughly translate to what ktor is doing.
For example, if you Google "Zitadel + Spring Boot", you’ll find plenty of results, but there’s not much available when you search for "Zitadel with Ktor".I find I'm trying to avoid stuff to do with spring boot bc it's doing a lot of stuff in the background through libraries that isn't really explained, whereas I feel the process with ktor will be a bit more involved
Is your question about Ktor's OAuth2 protocol implementation, or what you should do after receiving the access token in the callback handler?both, sort of I would expect that ktor's oauth2 protocol would also be able to handle things like • token refreshes • fetching webfinger data for a user • reading json web tokens from the oauth2 response • validating tokens • etc. I would also expect that it indicates how the token should be stored (store the entire token? don't store the token and validate the signature? etc.)