62
Views
1
Comments
OAuth 2.0 google
Question

hey guys i follow this method: 

https://success.outsystems.com/documentation/11/extensibility_and_integration/rest/consume_rest_apis/use_oauth_2.0_client_flow_authorization_in_consumed_rest_api_web_services/

to try to get loogged in and get the token i need to access google apis but it doesn't work.


i try with the same credentials on https://developers.google.com/oauthplayground/ and it works. 

can anyone help ? 


2021-10-09 07-57-44
Stefan Weber
 
MVP

Hi,

Google APIs do not support the OAuth 2.0 client credentials flow. Instead Google uses its own "service account" method for server-to-server communication. See the documentation here https://developers.google.com/identity/protocols/oauth2/service-account#httprest. You have to create your own implementation for that. Iam not aware of any forge component that you could use.

Besides this only Authorization Code flow is supported which requires a regular user account and a browser initiated authentication flow.

Best

Stefan

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.