NHS app guidance
Teams wishing to implement a proxy journey in the NHS app can benefit from the fact that most of the underlying capability has ben delivered already. The app will deal with
- Presenting a list of patients the logged in user can mange services for (via NHS login) - "Manage health services for others" screen
- Generation of access tokens through the auth package
Web integrations
The process of navigating to a third-party web application and retaining logged-in state via web integration will follow almost identical steps as the existing process, as described below.
- User logs (NHS app obtains an identity token for the logged in user)
- User switches to manage services for a patient
- (NEW) NHS app must exchange the user's token for a composite token for the patient they wish to manage services for (see NHS login documentation)
- NHS app passes a JWT generated from the composite token in the URL (
asserted_login_identity) as part of the jump off - Third party web app completes verification of the token passed in the query string to it
- (Slight Variant) Third party may use details in the token such as the subject's NHS number of demographics, noting that in the case of proxy, the token subject and demographics will be those of the patient and not the logged-in user (see NHS login documentation for token specification)
For more detailed interaction details see how to enable proxy access to services
Edit this page on GitHub