Are there any examples of this working with Okta ?
I have managed to get part way there, but it moans about scopes:
'error redeeming code missing email'
./oauth2_proxy --upstream=http://localhost:9999/ -client-id=XXX -client-secret=ZZZ -cookie-secret=YYY -email-domain=ZZZ.com
-set-xauthrequest
-login-url=https://dev-XXX.oktapreview.com/oauth2/default/v1/authorize
-profile-url=https://dev-XXX.oktapreview.com/oauth2/default/v1/userinfo
-redirect-url=https://MYPLACE.com
-provider okta -redirect-url=https://MYPLACE.com/oauth2/callback -validate-url=https://dev-XXX.oktapreview.com/oauth2/default/v1/token -redeem-url=https://dev-XXX.oktapreview.com/oauth2/default/v1/token -scope openid
I have this running behind nginx.
I think the issue is passing it : openid email profile
in the -scope, but I am not sure how to do this.
I've tried, commas, quotes etc.
Any ideas welcome !
(I'm using the pre-built version)
Are there any examples of this working with Okta ?
I have managed to get part way there, but it moans about scopes:
'error redeeming code missing email'
I have this running behind nginx.
I think the issue is passing it : openid email profile
in the -scope, but I am not sure how to do this.
I've tried, commas, quotes etc.
Any ideas welcome !
(I'm using the pre-built version)