I’m using loco for a backend for my native app and really want to use this lib . The only tweak is that the callback url will be called from my app and it must return an access token (which I will create in the controller) instead of setting a cookie. Is it possible to do this without changing the library?
The flow is
Native app goes to my backend to get the auth url
Native generates pkce challenge and verifier
Native app redirects user to oidc provider
User authenticates
Native app is opened with a deep link with a code
Native app calls loco backend with code and verifier
Loco endpoint authenticates to oidc provider, generates an access token and returns to native app
8… all future request have access token in authorization bearer header
Hi! Great library!
I’m using loco for a backend for my native app and really want to use this lib . The only tweak is that the callback url will be called from my app and it must return an access token (which I will create in the controller) instead of setting a cookie. Is it possible to do this without changing the library?
The flow is