Navigation

    FusionAuth
    • Login
    • Search
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs

    UNSOLVED Error when trying to log with Google at FusionAuth admin control panel

    Q&A
    1
    1
    18
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      marcos.fernandez last edited by

      Hi, we have upgraded to latest version available at this moment, 1.36.8, and now we are getting a javascript error when trying to log with a Google account. You could see this error at the console just when you load the administrator login page:

      bdf7ae19-42c1-4212-8ed6-07b1051cf159-image.png

      This happens when you load it for the first time and your browser cache is empty. After that moment, sometimes it loads or not.

      We use another theme for a different tenant and we managed to fixit adding the load of Helper.js script file:

      [#macro alternativeLoginsScript clientId identityProviders]
        <script src="/js/identityProvider/Helper.js?version=${version}"></script>
        [#if identityProviders["Google"]?has_content]
          <script src="https://apis.google.com/js/api:client.js"></script>
          <script src="/js/identityProvider/Google.js?version=${version}" data-client-id="${identityProviders["Google"][0].lookupClientId(clientId)}"></script>
        [/#if]
      [/#macro]
      

      Thanks,
      Regards

      1 Reply Last reply Reply Quote 0
      • First post
        Last post