-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update Documentation 📝 * move to backend --------- Co-authored-by: pld <[email protected]>
- Loading branch information
1 parent
e4565a9
commit 22fd831
Showing
5 changed files
with
51 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Production setup | ||
|
||
This page provides recommendations when setting up a production deployment. | ||
|
||
### Keycloak Oauth2 clients | ||
|
||
We use [Keycloak](https://www.keycloak.org/) as our IAM server that stores users, groups, and the access roles of those groups. Before starting the set up of the Keycloak Oauth clients ensure the `Service Account` Role is **disabled**. | ||
_Separate_ OAuth clients should be configured for the ETL Pipes/Analytics and the FHIR Web systems. | ||
|
||
|
||
#### Android client | ||
Enable **Direct Access Grant only** - This client should be configured as a `Public` client. To fetch a token you will not need the client secret. This will use the `Resource Credentials/Password` Grant type. | ||
|
||
:::danger | ||
|
||
Do not store any sensitive data like _password credentials_ or _secrets_ in your production APK e.g. in the `local.properties` file. | ||
|
||
:::: | ||
|
||
#### FHIR Web client | ||
Enable **Client Authentication** and enable **Standard flow**. _Implicit flow should only be used for local dev testing - it can be configured for stage and maybe preview but NOT production._. This will use the | ||
|
||
#### Data pipelines/Analytics client | ||
Enable **Client Authentication** and enable **Service Account Roles**. This will use the `Client Credentials` grant type. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters