Many Tidepool supports enterprises or organizations that may wish to manage credentials and security settings (e.g. password complexity, expiration, ip address restrictions) within their own infrastructure to fulfill compliance needs and local requirements, leverage existing identity stores and policies within the organization, typically a Microsoft Active Directory.
Tidepool has implemented Keycloak
, an Open Source identity broker supported by Red Hatand deployed and managed by Tidepool in Tidepool’s AWS cloud to integrate enterprise login services.
...
Once an identity has been verified with the IdP it provides a token to Tidepool’s Keycloak
instance (the SP or Service Provider) that authenticates and authorizes the user to use Tidepool according to their role.
Example Authentication Flows
Tidepool Authentication
Federated Authentication and Authorization
...
Authentication flows
SAML Federated authentication flow
...
OpenID Connect authentication flow
...
Tidepool Keycloak setup flow
Organization contacts clinic@tidepool.org to initiate discussion
Schedule a call with organization IT/Security staff for initial discussion and requirements gatheringdiscovery
Tidepool meets with Organization IT staff to discuss details of configuration:
IdP integration
domains and patterns required to authenticate users
process for org integration
timeline and support communications
Organization and Tidepool Agree on timeline and ensure changes and notifications are coordinated with clinic and IT staff
Tidepool configures Keycloak ↔︎ IdP integration via an exchange of secure tokens and information on how to authenticate organization users. This usually consists of metadata information in a structured file or a URL pointing to an .xml file and exchanging needed service
URL
s and endpoint information
Differences
Organization will manage all users and passwords internally and are responsible for onboarding and off boarding users.
Organization will define manage security settings such as:
2-Factor or Multi-factor authentication (2FA/MFA)
Organization Audit level audit logging
Password complexity, expiration, aging
Login restrictions (ip address, time based, location based)
If Organization’s user store (AD or IdP broker service) is not accessible, federated users will not be able to login to Tidepool
Organization domain and login patterns or metadata will be verified programmatically in
Keycloak
and applied based on policy
Example Identify Providers supporting SAML and/or OpenID
Microsoft ADFS and Azure ADFS running SAML or OpenID Connect
Ping Federate running SAML or OpenID Connect
Auth0 running SAML or OpenID Connect
Shibboleth
Google Workspace
More Information on Keycloak, SAML and OpenID
...