Hi @reshma @rahul1 , I've resolved this issue mentioned above by refactoring the login code. Initially, API calls were implemented instead of the Medplum function for processCode().
However, I'm now facing a different issue: I am not receiving messages through WebSocket. After debugging, I found that subscriptions are being created, and the binding token for the subscription is also generated; however, the message sent by creating the communication resource is still not being received. Could you please help me resolve this?