Skip to content

Scenarios

Basil Vandegriend edited this page Aug 23, 2022 · 1 revision

Julius granting access to FOM

Julius as a user has been granted access to the FAM_Administer_FOM role in FAM, so he can use FAM to grant users access to FOM-specific roles. FAM has been configured with FOM as an application with two roles - FOM_Ministry and FOM_Submitter. FOM_Submitter is flagged as requiring specifying the forest client.

Juilus wants grant a user access to submit to FOM. He selects the FOM application, then selects the FOM Submitter role, then selects the user and selects the forest client (by ID + Name) for 00001011. The backend creates an association between that user and the FOM_Submitter role specific to the forest client 00001011.

When this user goes to access FOM, FOM contacts FAM's identity provider (Cognito) which after user login dispatches to FAM to determine access. FAM constructs the JWT access token to specify something like roles { FOM_Submitter { forest_clients: { '00001011' } } }. FOM then decrypts and parses the token to manage access based on this information.

Clone this wiki locally