Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As an example we can have a look at the usage of the careteam microfontend and it usage on the FUT infrastructure.

Gliffy
imageAttachmentIdatt2254143489
macroIdac13af54-9cb6-4d53-bac7-26186ef3f783
baseUrlhttps://ehealth-dk.atlassian.net/wiki
nameCareteam microfront example
diagramAttachmentIdatt2253389835
containerId2232287238
timestamp1649409528337

Security model

The security model used in KAM, is the same as the one used in the remaining FUT infrastructure. This means that the shell application will redirect the user to the IdP using the users browser, and in this process receive a set of security tokens (JWT). The shell application has the responsibility to do the required refreshes in order to ensure that the tokens are valid at all time, when using KAM. The access token is provided to the micro-frontends in browser local storage (with access tied to the KAM domain). They can use the token to do lookups into the infrastructure, and thus will only present data, which the current user has access to, with the currently selected security context.

...