I am trying to setup mobile app using aws-congito ...
# support
s
https://www.medplum.com/docs/auth/methods/external-identity-providers. I'm following the process as web app but I'm facing processCode issue. How can I resolve this issue?
@rahul1 @reshma , Could someone clear this query We're running into an issue with the signInWithExternalAuth method in Medplum. It appears this method relies on web technologies that aren't compatible with mobile environments, making it unusable in a mobile app context. We attempted a workaround by registering users directly in Medplum and then in Cognito. However, this creates another problem: users registered via the web app can't log in on mobile, since Cognito doesn't share the password back with Medplum. Has anyone found a clean solution for handling auth in a mobile app with Medplum? Or is there any recommended way to bypass this and implement a fully custom mobile auth flow while maintaining compatibility with the Medplum backend?
a
I've done some work with a custom auth flow in native SwiftUI iOS application to authenticate with Medplum. Nothing with using Cognito and Medplum. I can share the details if you would like.
r
Apps should never exchange passwords... - I'd recommend taking a look at this mobile app as a sample https://github.com/vintasoftware/medplum-chat-app
291 Views