Authentication Lib: cotjs-auth
PDA will be used as the City’s single sign on solution for all the applications the City has to offer i.e., Children Services, MLS, Revenue Service, Parking Permit, etc. ForgeRock
(FR) Advanced Identity Cloud
(AIC) is used for creating of PDA account and authenticating users. FR provides the JavaScript SDK to help developers to integrate with their products.
The applications the City has to offer require to integrate FR AIC using the SDK. The cotjs-auth
library wraps the SDK so that the application developers don’t need to know the integration details with FR AIC. It will communicate with FR AIC, handle redirection and retrieve access and id tokens. It also includes APIs to interact with backend middle tier and Linkage Form applications.
Code Repository: https://vcs.toronto.ca:6443/devops/dts/cotjs-auth