Reply to reproducible HTTP 502 error in OAuth /oauth/authorize · mastodon/mastodon -
Found this when trying to set up syndication via Brid.gy to my Mastodon account. For me solution was to increase proxy buffers in Nginx as per https://github.com/doorkeeper-gem/doorkeeper/issues/1554#issuecomment-1304606633
#