# Google login as client-suggested identity provider

**URL:** <https://forum.keycloak.org/t/google-login-as-client-suggested-identity-provider/10702>\
**Category:** Getting advice\
**Tags:** identity-brokering, oidc\
**Created:** [August 26, 2021, 7:07am UTC](https://forum.keycloak.org/t/google-login-as-client-suggested-identity-provider/10702 "2021-08-26T07:07:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhhmmad](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@mhhmmad](https://forum.keycloak.org/u/mhhmmad)\
**Post date:** [August 26, 2021, 7:07am UTC](https://forum.keycloak.org/t/google-login-as-client-suggested-identity-provider/10702/1 "2021-08-26T07:07:44Z")

</div>

I’m trying to add google login to my app bypassing the keycloak login page.  
We are using the “/realms/{realm-name}/protocol/openid-connect/token” endpoint to directly obtain the access and refresh token.

I make a get request to “/keycloak/auth/realms//protocol/openid-connect/auth?client\_id=&redirect\_uri=&response\_type=code&scope=openid&kc\_idp\_hint=google”

However, I don’t get the access token in the response after signing in through google. Any advice?
