Twitter LogoFacebook Logo
Auth - Listening to Sign-In States
Use the “Listen For Sign In Changes” node to detect when a user signs in or out of the app.
By: King

Hello, in this tutorial, I’ll show you how to use the “Listen For Sign In Changes” node in the FBP Firebase Plugin for Unreal Engine to detect when a user signs in or out of the app using the plugin.

Image from Codeible.com

You can attach a Sign-In State listener to your app by using the “Listen For Sign In Changes” node to detect any sign-ins or outs made to your app.

The node has 2 callback pins that gets called when a user signs in or out using the plugin.


To create these callbacks, click and hold on the callback pin from the node. Then drag and let go on an empty spot on the blueprint.

Select “Add Event” then “Add Custom Event.” That will create the event node fit for the callback.

Image from Codeible.com

The On Signed In callback will get called when the user signs into the app and the On Signed Out callback will be called when the user signs out of the app.

Image from Codeible.com

Getting Metadata

To get more info on the user, right click on the Firebase User pin of the On Signed In callback and select “Split Struct Pin” in the context menu.

Image from Codeible.com

The On Signed Out callback will get called when a user signs out of the app by using the Sign Out node from the plugin.


Sign In