Open AdeOpe opened 5 years ago
How did you create the user pool?
i scripted it using terraform https://www.terraform.io/docs/providers/aws/d/cognito_user_pools.html
or you can set it up manually using (I added this link in my above comment) https://docs.aws.amazon.com/cognito/latest/developerguide/getting-started-with-cognito-user-pools.html
Do you mind sharing your Terraform parameters?
Also, my instance of oauth2_proxy crashes because I am not supplying the --oidc-issuer-url
. Any ideas?
Hi, thanks for oauth2_proxy. I managed to get oauth2_proxy to work with AWS cognito ;)
So I just tried to submit a feature branch but i get permission denied.
in the branch i added the following to the readme:
`
AWS with Cognito User pool OIDC
Example on how to integrate oauth-proxy with AWS cognito user pool
Launch oauth2_proxy with the following
-provider=oidc -client-id=
-client-secret=
-redirect-url=https:///oauth2/callback
-login-url=https://.auth..amazoncognito.com/oauth2/authorize
-profile-url=https://.auth..amazoncognito.com/oauth2/userInfo
-redeem-url=https://.auth..amazoncognito.com/oauth2/token
-scope=openid
-cookie-secure=false
-upstream=
-email-domain=*
-cookie-secret=
-http-address=
`
Could you please add the above to the README, if you think its useful for other people?