@hereHey guys, I cannot use Medplum SDK-exposed me...
# general
a
@hereHey guys, I cannot use Medplum SDK-exposed methods in React Native. 1. Do we support react native? 2. Can anyone help me with the token after logging in. currently getting a
missing grant-type
error. Although they are already passed in the req body.
r
Hi! 1. We do not currently support React Native 2. Can you send as curl the request that has the error? Which one of these is not working? https://www.medplum.com/docs/api/oauth/token
Getting this to work will require correct setup of ClientApplication as well
a
Thanks @reshma !
a
@reshma Thanks for the example you shared. It will help me.
c
@ahmedsakri how did you end up setting up your auth? Given you cannot use method such as
startLogin
. Curious to hear how you did your implementation.
FWIW I'm running the example app and sniffing network traffic to just go through and figure it out on my own but looking for any best practices or lessons learned.
To follow up on this even though no responses were had .... I opened a PR to the react-native-example app after I got this working, hopefully this can be used by others to understand how to use the auth and features within react-native
141 Views