ipV6 failing first time, working everytime subsequently

chakras nginx-forum at forum.nginx.org
Fri Jan 7 17:02:03 UTC 2022

Hello Francis,

To answer your question partially, username/ password validation happens on
GCP server. We do a POST request and send a JSON object with those values
filled in. If the login succeeds, we send back a token. Nginx is really
working just as a proxy here. Something like this on browser Network debug

Request URL: https://xxxxx.us/gcp/users/auth
Request Method: POST
Status Code: 401 
Remote Address: xxx.xxx.xxx.xxx
Referrer Policy: strict-origin-when-cross-origin

In this case 401 is valid (I am on IPv4) as the user/ pass was wrong.

{username: "johnie", password: "yespapa", remember: null}

Successful login will return 200 and an object that looks something like

access_token: "a.b.c.d"
attributes: {
  "username": "string",
  "roles": []


Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293266,293287#msg-293287

More information about the nginx mailing list