Launching my app from the patient dashboard (SMART Enabled Apps)

Situation
launching my app from the patient dashboard (smart enabled app).
when my app is launched I get launch,iss and aud.

https://app.example.com/?launch=006a%2B7Mp5wNGFmaDZmfw%2BsoV6GxLajvtH3KA3sc5s3ZxpuWmigqZLkPjXZgRrnSLMRQ9%2BQyLpazsm2xTv1fQb8VqRPrSJiSb%2FG%2Fw8CXe537ot4FmonZv5aeIn3tf1WuY9OmHZYbhjcAy5X9IetYEctNE6pjH1leP9V4roAVYdf%2BgZUP%2FeO%2FR%2BCW2sopbacfI8YV&iss=https%3A%2F%2Flocalhost%3A9300%2Fapis%2Fdefault%2Ffhir&aud=https%3A%2F%2Flocalhost%3A9300%2Fapis%2Fdefault%2Ffhir

when my app is launched I want to get data about that patient from where I launched the app. After viewing the details user can also save its vital’s.
So is there a possibility of creating a token? So i fetch data and store some other data

OpenEMR Version
7.0.3-dev

Browser:
Chrome

Operating System
linux(docker)

Search
Yes i searched but didn’t got the answer

Logs

2025-01-29 13:39:28	security-administration-Query	Security	admin		Default	0	1		Query username, fname, lname FROM users WHERE active = 1 AND ( info IS NULL OR info NOT LIKE '%Inactive%' )

You’ll need to initiate the OAuth2 Authorization Code Grant flow to grab your token. Have you used swagger, or postman to verify you are doing that correctly? Have you read the FHIR readme in the project folder?