hi!
are you still working on this? I did it for one of our applications
is a nextjs application, so i created an api endpoint that has client_id & secret, retrieves the questionnaire to display
when the user submits, the nextjs applications forwards the relevant info to medplum and performs other operations