@@ -22,6 +22,37 @@ Other capability
22
22
## Google Document Features
23
23
# Technical Documentation
24
24
# Technical Implementation
25
+ ## People Depot Replication with SSO
26
+ People Depot data is replicated when user logs in.
27
+ ### User Profile
28
+ 1 . User attempts to login using kb url.
29
+ 2 . If user is configured for SSO
30
+ - user is redirected to login
31
+ - user logs in
32
+ - Cognito calls kb callback with parameters necessary to derive token using Cognito algorithm. Token is stored in variable.
33
+ - /sync is called which calls update_all_from_pd. This is configured using LOGIN_REDIRECT_URL
34
+ 3 . If user is not configured for SSO
35
+ - user is drected to kb login page
36
+ - user logs in using local account
37
+ - token is derived using local algorithm. Token is stored in variable.
38
+ 4 . /sync url is called. This is configured in LOGIN_REDIRECT_URL
39
+ 5 . sync url triggers call to update_all_from_pd
40
+ 6 . update_all_from_pd
41
+ 6.1 calls update_practice_area_from_pd
42
+ - gets practice area data from https://<people depot server >/practice-areas w
43
+ - data returned is used to create and update practice area records
44
+ 6.2 calls update_user_profile_from_pd
45
+ - gets current user data from https://<people depot server >/profile with token in header
46
+ - data returned is used to create or update information for current user
47
+ 6.3 calls update_users_from_pd
48
+ - gets current user data from https://<people depot server >/users with token in header
49
+ - data returned is used to create or update groups and users
50
+ ###
51
+ 1 . User attempts to login using kb url.
52
+ 2 . gets token from https://<people depot server >/login that passes entered user and password
53
+ 3 .
54
+
55
+ ## People Depot without SSO
25
56
## Servers
26
57
- Javascript service for converting a Google doc into a markdown and placed in a location to be picked up by Jekyll Hack for LA website.
27
58
- Django app to implement the Knowledge Base Features
0 commit comments