Search Unity

Official Authentication now supports Bring Your Own Identity (BYOI)!

Discussion in 'Authentication' started by chengg_unity, Aug 29, 2022.

  1. chengg_unity

    chengg_unity

    Unity Technologies

    Joined:
    May 15, 2022
    Posts:
    69
    Hello everyone,

    We are excited to announce that Unity Authentication now supports Bring Your Own Identity (BYOI).

    OpenID Connect (OIDC)
    With the first phase of our BYOI release, you can integrate with any OIDC-compliant identity providers, such as Firebase, AWS Cognito and Epic Online Services.

    Demo
    You can see it in action with the following demo:

    Sign In Anonymously & Link with AWS Cognito Account




    Sign In Directly with Firebase Account




    Documentation
    You can refer to our documentation (API and SDK) on how to set up and configure OIDC identity providers.

    What’s Next?
    We understand that OIDC support will not solve all BYOI use cases. We are evaluating options to further expand BYOI support based on customer needs.


    If you have specific BYOI needs, any questions or feedback, please let us know! Thank you!
     
  2. mvelasco

    mvelasco

    Joined:
    Apr 23, 2018
    Posts:
    1
    This is awesome, do you have a complete example how to setup firebase to use OIDC with Unity Authentication?
     
    Stringer_GameDev likes this.
  3. frdrkprck

    frdrkprck

    Joined:
    Oct 6, 2022
    Posts:
    1
  4. Laurie-Unity

    Laurie-Unity

    Unity Technologies

    Joined:
    Mar 5, 2020
    Posts:
    220
    Hi @frdrkprck,

    If you can't see Authentication package v 2.2.0 in the package manager, you may need to add it manually. You can do this from the '+' button in the Package Manager

    upload_2022-10-19_11-36-13.png

    or by adding
    "com.unity.services.authentication": "2.2.0",
    to the dependencies section of your /Packages/manifest.json file.

    You should keep an eye on the Change Log linked from the Package Manager for the latest updates, we are up to v 2.3.1 now, with added support of Occulus! :cool:
     
  5. kevin-masson

    kevin-masson

    Joined:
    Sep 24, 2018
    Posts:
    73
    Hi, could you provide test samples for the OIDC login method?
     
  6. EdwardAndy

    EdwardAndy

    Joined:
    Jul 26, 2020
    Posts:
    24
  7. chengg_unity

    chengg_unity

    Unity Technologies

    Joined:
    May 15, 2022
    Posts:
    69
  8. EdwardAndy

    EdwardAndy

    Joined:
    Jul 26, 2020
    Posts:
    24
    Hello @chengg_unity

    You are right. I can add the Amazon Cognito id provider successfully now. Thx for your help.
     
    chengg_unity likes this.