I Solved ”Cannot access OAuth Server due to 500 or 502 / Aras 12" in my case.

オフライン

I encountered "Cannot access OAuth Server due to 500" and "Cannot access OAuth Server due to 502 (Bad Gateway)" errors.

This problem was coused by below reason in my case

1. "Cannot access OAuth Server due to 500" error was coused by

--------"Microsoft .NET core 2.1.8 - Windows Server Hosting" was not installed.

I accidentally installed a non-Hosting Bundle version.(without "Microsoft .NET core 2.1.8 - Windows Server Hosting" )
I needed to download "Hosting Bundle Version installer" and install it.

2."Cannot access OAuth Server due to 502 (Bad Gateway)" error was coused by 

--------registered passwards was mismatched between "[Sql Server]-[Sequrity]-[login]" innovator and innovator_regular accounts and attributes with "DB-Connection" tag in InnovatorServerConfig.xml file.

I was install and uninstall aras12 due to 500 error. and I was install it again.
I was probably enterd different password first time and second time.
I should have delete sql db "InnovatorSolutions" and login accounts "innovator and innovator_regular" when i uninstalled aras 12.


I hope my case helps someone.

My environment is
OS: Windows Server 2016