Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Call FHIR.oauth2.ready() on page load #8

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Conversation

tmrotz
Copy link

@tmrotz tmrotz commented Feb 22, 2021

After redirect to index.html, if the user waits longer than 60 seconds to click the Search for Slots button, it will fail. The authorization code expires after 60 seconds. FHIR.oauth2.ready() should be called as soon as possible, e.g., on page load.

http://www.hl7.org/fhir/smart-app-launch/index.html#step-2-ehr-evaluates-authorization-request-asking-for-end-user-input

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants