Oauth2 oauth/token endpoint issue in Spring Boot behind Nginx using LetsEncrypt

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: loyaltyvault.club

I ran this command:

It produced this output: ```
Server: nginx/1.17.8
Content-Type: text/html
Content-Length: 157
Connection: close

400 Bad Request

400 Bad Request



nginx/1.17.8


My web server is (include version): nginx/1.17.8 and Tomcat

The operating system my web server runs on is (include version): Ubuntu 18.04

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of `certbot --version` or `certbot-auto --version` if you're using Certbot):
1 Like

To have any effect, this:

Needs to look like this:

It produced this output:
```

[on separate line]

As for the “problem”, I can’t seem to get a “400” error from your system; only “200”:

curl -Iki https://loyaltyvault.club/
HTTP/1.1 200
Server: nginx/1.17.8
Date: Fri, 14 Feb 2020 02:13:14 GMT
Content-Type: text/html;charset=UTF-8
Content-Length: 7210
Connection: keep-alive
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Language: en-US
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.