Thank you so much for your response.
Our App is
EHR launch sequence http://hl7.org/fhir/smart-app-launch/1.0.0/#ehr-launch-sequence
& we are implementing it at the Backend level.
1. Queries on aud params:
For constructing the URL for redirect, previously I was not able to get the authorize code i.e. 'code' params whie redirecting it to /ready as a result I was getting the below error:
2. Queries on 'state' param:
- Currently My App is working fine with 'state' params as empty or with some hardcoded string value for example:
- In case if I want to restore the original 'state' param value, currently my function is not able to generate the 'state' params.
As per the http://www.hl7.org/fhir/smart-app-launch/ doc the authorization server includes this 'state' value when redirecting the user-agent back to the client in my case 'state' is not getting included by the authorization server.
- Is this fine to have a state params as empty or hardcode with some string value??
Can you please provide your comments on my above queries.
Please feel free to ask further questions.