Search Unity

Question Is any way for integrate firebase and Unity Gaming Services?

Discussion in 'Editor & General Support' started by Singular-Programmer, Apr 29, 2023.

  1. Singular-Programmer

    Singular-Programmer

    Joined:
    Sep 6, 2018
    Posts:
    2
    I use Firebase auth, database and I want use UGS. But UGS not support Firebase auth. So I thought a method:
    - Sign in with firebase,
    - Create a user document in firestore,
    - anonym sign in UGS,
    - after save token to my firestore document(only user read and write),
    In this way if user sign in other device game get token from firestore and login in UGS.

    But this is have some important problems:
    Security: Storing the player's token in an external database can be dangerous.
    Possibilty: I dont make any demo for try this because I dont find any options for get anonymous token and change.

    So my questions:
    - Is any way for integrate firebase and Unity Gaming Services?
    - Do you think my method makes sense?
    - If my method is makes sense. How can I get user session token and use in login.

    I wish, if is possible, Unity add email/password auth, database in UGS.
     
  2. DaddyJr

    DaddyJr

    Joined:
    Sep 29, 2018
    Posts:
    4
    im trying too, you got any update?