IMPORTANT:authorize() will end up redirecting you to the
authorization server. This means that you should not add
anything to the returned promise chain. Any code written directly
after the authorize() call might not be executed due to that
redirect!
The options that you would typically pass for an EHR launch are just
clientId and scope. For standalone launch you should also provide
the iss option.
Starts the SMART Launch Sequence.
The options that you would typically pass for an EHR launch are just
clientIdandscope. For standalone launch you should also provide theissoption.