dvas0004 / NerdNotes

A collection of notes: things I'd like to remember while reading technical articles, technical questions I couldn't answer, and so on.
12 stars 0 forks source link

Spring Security : OAuth #9

Open dvas0004 opened 5 years ago

dvas0004 commented 5 years ago

OAuth uses redirection (HTTP) to perform authentication flow. When behind a reverse proxy, this redirection flow is messed up unless correct HOST header is being used. Use the following in applications.properties to make sure the HOST header is forwarded:

server.use_forwarded_headers