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
Copy file name to clipboardexpand all lines: README.md
+6-4
Original file line number
Diff line number
Diff line change
@@ -94,18 +94,20 @@ Next you need to decide if you'd like to deploy with lambda/API Gateway (follow
94
94
vim config.sh # Or whatever your favourite editor is
95
95
96
96
- Source the config file:
97
-
98
-
source config.sh
97
+
98
+
```
99
+
source config.sh
100
+
```
99
101
100
102
- Run `npm run start` to fire up an auto-refreshing development build of the
101
-
server (production deployment is out of scope for this repository).
103
+
server (production deployment is out of scope for this repository, but you can expose it using something like [ngrok](https://ngrok.com/) for easy development and testing with Cognito).
102
104
103
105
### 3: Finalise Cognito configuration
104
106
105
107
- Configure the OIDC integration in AWS console for Cognito (described below, but following [these instructions](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-oidc-idp.html)). The following settings are required:
106
108
- Client ID: The GitHub Client ID above
107
109
- Authorize scope: `openid read:user user:email`
108
-
- Issuer: `https://<Your API Gateway DNS name>/Prod`
110
+
- Issuer: either `https://<Your API Gateway DNS name>/Prod` (for lambda with API gateway) or `https://<your webserver>/` (for the node server).
109
111
- If you have deployed the web app: Run discovery (big blue button next to Issuer).
110
112
- If you have deployed the lambda/Gateway: For some reason, Cognito is unable to
111
113
do OpenID Discovery. You will need to configure the endpoints manually. They are:
0 commit comments