6
Support SSO login for native apps
Source: directus/directus#22438 · opened by @NilsBaumgartner1994
Summary Currently we are having hard times when SSO logins should be supported for native apps like react native. The problem is, we don't want to use an "In-App-Browser" due to security concern for users. Such an "In-App-Browser" could be mocked and grab your user credentials. Alternatively a native app would open the phone browser which then authenticates at the SSO and would finally redirect the user to the app using "Deep Link". Here comes the problem. As the Deep Link only opens our app, the app has no access to the phone browser cookies nor will send them at requests. Even if it would send them, these cookies would be cleared when the user would clear the brower cache. Therefore we have currently no access to the auth data when login in via SSO. As a workaround we could create a custom endpoint which redirects to the app via Deep Link and passes as an argument a refresh token: This workaround is not very secure as: • The…
No pledges yet. Be the first to back this.
Comments
Similar requests
SDK SSO Login Refresh Token
4 votes · 0 comments
Introduce UI-Based Configuration for OAuth/SSO Providers
7 votes · 0 comments
Allow logging-in to same account via multiple auth providers
11 votes · 0 comments
Ability to login to directus using access token of a configured provider.
2 votes · 0 comments
Proof Key for Code Exchange by OAuth Public Clients - Implementation - React Native - Expo - SPA - OAuth2
13 votes · 0 comments
No comments yet.