PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, July 13, 2022

[FIXED] How to authenticate to google in background?

 July 13, 2022     angular, authentication, google-api-js-client, google-oauth, web-deployment     No comments   

Issue

I have build a google authentication as shown in this blog.

https://jorgecf.github.io/2020/04/18/google-oauth-angular

The problem is that it always shows an pop up so that users can login. But I want that login to happen in background where I will be passing the username and password.

Are there a solution for this problem?


Solution

Probably not, due to security reason Google Authentication does not allow pass username and password silently. It works with the help of Authentication Token, that you can store and get rid of username and password prompt if it asked every time, and once it expired you need to authenticate again.



Answered By - Abhinav Kumar
Answer Checked By - Senaida (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing