On my app, I am able to get Authorisation Code using google play services. The app shows this type of screen to select an account::
For a new account, user can select 'Add account' and enter the email and password. This way, I get the Authorisation code. But I just need the code to be passed to server, I don't want the account to be added to user's device.
Please help me with this or suggest alternatives so I can get authorisation code without adding an account to the device.