Facebook URL for Authentication?


I want to configure my self hosted Photon server to enable Facebook authentication but I am am unable to figure out what facebook URL should be pasted in app.config for AuthSettings?

Any help will be appreciated,


  • Hi chvetsov,

    Thanks for the reply.

    The page you have mentioned is for Photon Cloud. And there "Authentication URL is set by Exit Games."
    The js.src URL you mentioned is for Facebook JavaScript SDK.

    I am not using photon cloud and self-hosting it. There I need to set the Facebook Authentication URL by myself in app.config in AuthSettings tag. That Facebook Authentication URL is nowhere given :(
  • "https://connect.facebook.net/en_US/all.js#xfbml=1&appId=" + "". this url does not depened on sdk you are using. just use it
  • Hi chvetsov,

    Its not working.
  • Hi @MTM,

    ExitGames provides facebook authentication out-of-box. You don't need any URL, just set the proper custom authentication type. Please follow the configuration example in the Custom Authentication docs page.
  • Hi,

    I think there is some confusion here - let me try to clarify.

    1. Photon with out-of-the-box Facebook auth is available for our cloud only. This is what you set up via your dashboard.
    2. Photon self-hosted with Facebook auth requires some more setup and a Facebook Authentication Provider (i.e. a proxy-auth-http-service), that does the actual authentication against Facebooks Graph API. For the Photon Cloud we host this provider for you. For Photon self-host, you will have to do that yourself.

    Regarding the settings in your Photon Server config this would look something like:
        <AuthProvider Name="Facebook"
    Please see https://github.com/exitgames/photon.custom-authentication for a dummy implementation of an Authentication Provider.
Sign In or Register to comment.