Implement keycloak Identity Providers logins like Google, Facebook in Android

How can we Implement Social Login in Android APP with Keycloak Identity Providers like Google.
I have set up google Identity Providers in keycloak admin. The web is working fine but How do we use that in Android/iOS?
How to retrieve access token after successful social login?
AppAuth provides both an Android and iOS client SDK for authenticating users with OpenID Connect, which Keycloak supports.

To the question of how to get the access token after successful social login, I’m assuming you mean the access token from the third-party provider like Google. Make sure you configure the identity provider with “Store Tokens” and “Store Tokens Readable” enabled. Once the user has logged in, you can get the provider token with:

GET /auth/realms/{realm}/broker/{provider_alias}/token