abundant-flag-19546
10/26/2021, 10:18 AMlocalhost:<PORT>/callback/oidc
, and make a flask server that can get <STATE> and <CODE>. (reference https://developer.okta.com/blog/2018/07/16/oauth-2-command-line)
But when I make a GET request to http://<DATAHUB_URL>/callback/oidc?code=<CODE>&state=<STATE>
, It makes redirect-uri mismatch error. (Bad token response, error=invalid_grant
)
Is there any great way to get the auth cookie without using browser?
(I’m using Okta OIDC.)early-lamp-41924
10/26/2021, 3:37 PMbig-carpet-38439
10/26/2021, 3:53 PMSet-Cookie
header that you can use in subsequent requests. How could this work better for you?abundant-flag-19546
10/26/2021, 11:39 PMbig-carpet-38439
10/27/2021, 4:53 AMbig-carpet-38439
10/27/2021, 4:53 AMbillowy-zoo-19457
10/27/2021, 5:06 AMgcloud init
) We need to execute read action in programmatic way with controlled permission based on OIDC credentials. Do we have any solution for this?