# How to use Online Subsystem Google?

**URL:** <https://forums.unrealengine.com/t/how-to-use-online-subsystem-google/1327182>\
**Category:** C++\
**Tags:** onlinesubsystem, unreal-engine, Android, question, CPP\
**Created:** [October 9, 2023, 2:07pm UTC](https://forums.unrealengine.com/t/how-to-use-online-subsystem-google/1327182 "2023-10-09T14:07:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![grisha666](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/grisha666/32/928991_2.png) [@grisha666](https://forums.unrealengine.com/u/grisha666)\
**Post date:** [October 9, 2023, 2:07pm UTC](https://forums.unrealengine.com/t/how-to-use-online-subsystem-google/1327182/1 "2023-10-09T14:07:45Z")

</div>

Hey did anyone used OnlineSubsystemGoogle? (not google play) I just need to make OAuth2 login with google account, but I cant understand from documentation where to setup credentials (like client\_id or redirect\_uri) what format needs to be in redirect\_uri, how to use OnlineSubsystemGoogle at all?  
For example if I need to open login dialog by clicking button in UMG Widget and want to get code from goggle as callback, how to do this? How to get Online Subsystem?  
How to open login dialog? How to set client\_id? And how to get callback? Actually appreciate any info about OnlineSubsystemGoogle usage, thanks a lot

---

<div class="post-metadata">

**Author:** ![KillerPenguin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/killerpenguin/32/1005607_2.png) [@KillerPenguin](https://forums.unrealengine.com/u/KillerPenguin)\
**Post date:** [November 22, 2023, 3:05am UTC](https://forums.unrealengine.com/t/how-to-use-online-subsystem-google/1327182/2 "2023-11-22T03:05:26Z")

</div>

I was wondering the same thing. Took me lots of trails and error to find out that GooglePlay doesn’t really fit my need. So I’m switching to OnlineSubsystemGoogle instead.

Is there any docs on this?

---

<div class="post-metadata">

**Author:** ![Rajiv45](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rajiv45](https://forums.unrealengine.com/u/Rajiv45)\
**Post date:** [April 24, 2024, 10:37pm UTC](https://forums.unrealengine.com/t/how-to-use-online-subsystem-google/1327182/3 "2024-04-24T22:37:12Z")

</div>

@KillerPenguin Same here. Have you had the chance to get a solution to this for OnlineSubsystemGoogle configuration?

---

<div class="post-metadata">

**Author:** ![ManOguaR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ManOguaR](https://forums.unrealengine.com/u/ManOguaR)\
**Post date:** [April 23, 2025, 7:44pm UTC](https://forums.unrealengine.com/t/how-to-use-online-subsystem-google/1327182/4 "2025-04-23T19:44:33Z")

</div>

I’m facing the same troubles, but in my own clone of OAuth2 (OpenId) for my distributed backend sessions system…

The settings are defined on DefaultEngine.ini (or somewhere appropiate)

[OnlineSubsystem]  
DefaultPlatformService=Google

[OnlineSubsystemGoogle]  
ClientId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx  
ClientSecret=yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

[OnlineSubsystemGoogle.OnlineIdentityGoogle]  
RedirectPort=xxxx  
LoginRedirectUrl=[http://localhost](http://localhost):xxxx/callback

but i can’t get it work either…  
seems some documentation, missing… or it’s missing the http loopback listener… 😛
