Hi I've been trying to use this library to set up Google Oauth on our S3 bucket - Cloudfront.
Unfortunately, I've been getting "JWT error, unauthorized" message on the log with no JWT being set.
I found via debugging and testing with ngrok that request.uri in Callback Payload is somehow fixed to "/_callback" even though it explicitly set it to https://our-cloudfront's-cname/index.html, during ./build.sh
Hi I've been trying to use this library to set up Google Oauth on our S3 bucket - Cloudfront. Unfortunately, I've been getting "JWT error, unauthorized" message on the log with no JWT being set. I found via debugging and testing with ngrok that
request.uri
in Callback Payload is somehow fixed to "/_callback" even though it explicitly set it tohttps://our-cloudfront's-cname/index.html
, during./build.sh
My workaround is:
index.html
to_callback
https://my-cloudfront-cname.com/_callback
(I'm using cname because I'm using custom domain)_callback
It works for now, I cannot figure out why this is happening. Thanks.