Skip to content

Onboarding, login, signIn flow #151

Answered by malliaridis
azlekov asked this question in Q&A
Discussion options

You must be logged in to vote

I am working on a similar project and the first thing I started with was the authentication.

Since I wanted to integrate OAuth 2.0 with OIDC my structure looks as follow (registration and authenticated routes are not implemented yet).

In the example structure the components Root, Unauthenticated, Authenticated and Auth (which is the login) hold their own ChildStack. Auth->Main is the basic username and password authentication, DeviceCode is a flow that was a proof of concept and will be removed, and Google is the authentication flow with an identity provider (here limited to Google only).

My implementation uses Ktor (HttpClient) for getting the access token and passes it upwards once aut…

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
4 replies
@azlekov
Comment options

@arkivanov
Comment options

@azlekov
Comment options

@arkivanov
Comment options

Comment options

You must be logged in to vote
6 replies
@malliaridis
Comment options

@arkivanov
Comment options

@azlekov
Comment options

@malliaridis
Comment options

@azlekov
Comment options

Answer selected by azlekov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants