You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Authenticate with the gateway via username password and login
In on_update/service
Validate the received authToken via configured JKS public key; allowed auth methods are RSA256, ex jwt.verify(token, publickey, { algorithms: ["RSA256"] });
EUA to assist EkSaath / Stepone integrate with Gateway
Env Vars:
Middlewares
Auth middleware - Validate JWT - ensure signature valid, and not expired - ref,
C19CareAssist/gateway/src/utils/auth-helper.ts
Line 14 in b6d1956
C19CareAssist/gateway/src/middleware/auth.ts
Line 8 in b6d1956
Endpoints:
v1/on_update/service - Log request and respond with
200
for nowv1/search/service - Construct gateway URL from env var and move logic from gateway middleware - ref, https://github.com/Swasth-Digital-Health-Foundation/C19CareAssist/blob/feature/middleware-for-search-api/gateway/src/middleware/doctorConfirmation.ts
Deployment
Add dockerfile and ensure docker build works as expected - ref, https://github.com/Swasth-Digital-Health-Foundation/C19CareAssist/blob/main/o2-provider/Dockerfile
@yath-tw
@rameez25
The text was updated successfully, but these errors were encountered: