Redirect Loop Error
Issue
I'm have the following error after used the "Login with google" in Auth0.

Configs
Lambda
{
"AUTH_REQUEST": {
"client_id": "<myId>",
"response_type": "code",
"scope": "openid email",
"redirect_uri": "https://<myCF>.cloudfront.net"
},
"TOKEN_REQUEST": {
"client_id": "<myId>",
"client_secret": "<myRandomGeneratedSecret>",
"redirect_uri": "https://<myCF>.cloudfront.net",
"grant_type": "authorization_code"
},
"DISTRIBUTION": "serverlessAuth",
"AUTHN": "AUTH0",
"PRIVATE_KEY": "<KEY>",
"PUBLIC_KEY": "<KEY>",
"DISCOVERY_DOCUMENT": "https://<myAuth0>.auth0.com/.well-known/openid-configuration",
"SESSION_DURATION": 259200,
"BASE_URL": "https://<myAuth0>.us.auth0.com",
"CALLBACK_PATH": "/_callback",
"AUTHZ": "AUTH0"
}
CloudFront Config

Auth0 Config
Only social connection with google Enabled:

Seems to be working fine, testing inside auth0 connection test:

My Auth0 Config:

Additional Info:
My Cloudfront redirects to a S3 bucket with static files (docusaurus generated).
FF Tools:
My requests keeps in a infinity loop 'till error:

Can someone help me? What i'm doing wrong?
@lightmagic1 did you ever get this resolved - I am having the same redirect loop issue (also hosting a static docusaurus site, using okta as my oidc provider) and would love to be able to figure this out
@lightmagic1 @ajrice6713 Can you try adding /_callback to your redirect URI which I believe should fix the issue.
For Eg. https://mydomain.cloudfront.net/_callback
@jayeshbino my issue ended up being the lambda@edge invoked on the origin request as opposed the viewer request