mardi 30 août 2022

idpiframe_initialization_failed while using google signin on ember

building an ember app which uses google sign in yet when i added the button it fuc=nctions but it pops the error in console

idpiframe_initialization_failed

with the details You have created a new client application that uses libraries for user authentication or authorization that will soon be deprecated. New clients must use the new libraries instead; existing clients must also migrate before these libraries are deprecated. See the Migration Guide for more information."

my.hbs code


<div class="g-signin2"></div>


my index.html code

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Embu</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="google-signin-client_id" content="938293174818-eu6i0913ria6b3v6mre2ad01t0q1cjh2.apps.googleusercontent.com">

    
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css" integrity="sha384-xeJqLiuOvjUBq3iGOjvSQSIlwrpqjSHXpduPd6rQpuiM3f5/ijby8pCsnbu5S81n" crossorigin="anonymous">//->client id
    <link integrity="" rel="stylesheet" href="assets/vendor.css">
    <link integrity="" rel="stylesheet" href="assets/embu.css">

    
  </head>
  <body>
    
    <script src="https://apis.google.com/js/platform.js" async defer></script> //--> google api import
    <script src="assets/vendor.js"></script>
    <script src="assets/embu.js"></script>

    
  </body>
</html>




Aucun commentaire:

Enregistrer un commentaire