Receiving Authorization Code in Main Window