Search code examples
google-apigoogle-oauthgoogle-api-java-clientgoogle-admin-sdkgoogle-oauth-java-client

Google API Oauth Installed application


I am using google oauth 2 for authentication. (Installed application)

Right now when the user allows access in user consent screen, how can i retrieve auth code from the redirect uri without user involving in cut and copy paste auth code. How to read the auth code from the title bar?


Solution

  • yes .. this can be done by using google service account. they will provide us a p12key and we can make use of it without any consent screen.