NilsBaumgartner1994
NilsBaumgartner1994
> @NilsBaumgartner1994 I solve issue with below setting. > > 1. app.json - with this setting, navigation based on expo router will add baseUrl, basically it will solve auth callback...
Push, we need Authorization headers
PLease make this work :-)
As a workaround it would be nice to know how to generate an access_token and refresh_token out of the session token, as the session token is not the same.
Well the problem is with native SSO login the following: you are in the app, you open the browser for the SSO login and get authenticated in the browser. Now...
Could you otherwise tell me how to create/get access and refresh tokens within a custom endpoint from the session token? this would work as a workaround.
Also using cookies would have the negative effect, when using a native app, the user would be logged out when the browser cache is resseted.
Created a temporary workaround to get refresh token for "session" auth providers: https://github.com/directus/directus/discussions/22427
> > Well the problem is with native SSO login the following: > > you are in the app, you open the browser for the SSO login and get authenticated...