how to add google accouts package to my site built using telescope and meteor - telescope

Telescope allows to choose the only three Authentication Methods from admin settings panel. The three methods are through email/password, facebook, twitter. I would like to add google to the authentication methods.
My local copy of the sites folder has been deleted, otherwise I could have used the command "meteor add accounts-google" in terminal. I also tried executing the same command in the console, but its showing errors.
It would be helpful if any one could suggest adding google account as an authentication method.

You deleted your development copy of the site? That's a problem. You're going to need a local development environment to make changes to the app and redeploy.
meteor add accounts-google and a redeploy is your solution.

Related

Versioned deployment seems to be redirecting to HEAD deployment after OAuth login

I have a google workspace addon which is extending gmail and is using app script oauth to connect our own system, https://github.com/googleworkspace/apps-script-oauth2.
Our system has a development environment and a live environment, each uses a different identity client id secret which need to be used when connecting to each. I have stored these as different project properites with the development properties being prefixed with 'dev-' and i have a function that looks like this:
getScriptPropery function. This function has a variable that should let me change the script properties I access.
I have then created a versioned deployment that uses the live project properties and have kept my HEAD deployment using the develpoment properties. My problem is that once someone tries to login on the versioned deployment they seem to be redirected back to the HEAD version of the code which is using development project properties, this then breaks the login attempt and gives the following error: AppScript login error. I have tested this by adding logging that is only in the HEAD version of the getScriptProperty function and you can see the logs swap to using the development properties after redirecting from the login attempt, Logging example.
Is there a better way to manage deployments/project properties to stop this from happening or have a just missed something with how they are meant to work?

How do I add html files to my godaddy domain without using website bulider?

I currently have a trial on my GoDaddy account. I created a tester domain and I'm trying to make my website entirely out of HTML (not with GoDaddy website builder). For some reason, it's only letting me add HTML code in certain places on website builder. How do I add HTML files using cpanel to my domain?
As you mentioned you are only trying to use html files, use any free shared website hosting service provider online (Some googling would work). Sign Up, login to the cpanel you will be prompted by the hosting service provider either by E-Mail or on the dashboard when you login the nameservers which are something like 'ns1.hostingprovider.com'.Login to your godaddy dashboard open your domain settings and update the nameservers with the ones your hosting provider gives you.Log on back to your hosting cpanel navigate to add files(html,css, a Readme file is optional) to your domain and wait Boom, and your files can go live within an hour of updating the nameservers on godaddy but sometimes this might take 24-48 hours.
Note - This process is only to know the general process to host files, if you consider hosting larger applications built in Multiple stacks and environments please check other threads when trying to deploy the application.

duck (CyberDuck CLI) with google drive

I'm trying to get the Cyberduck CLI (duck.sh) to work interfacing with a google drive (not "Google Cloud Storage") and I'm having problems getting the oAuth authorization to work. I found this thread but it's out of date - as the newer versions of Cyberduck do absolutely work with Google Drive. Using the regular cyberduck GUI I can browse and operate on my G-drive instance, but I can't quite quack the code (sorry!) for how to make this work using the CLI.
[lwobker:~]$ duck -l googledrive://<user>#gmail.com/
Authenticating as <user>…
OAuth2 Authentication. Paste the authentication code from your web browser.
Authentication Code: <pasted pass here>
Save password (y/n): n
Disconnecting www.googleapis.com…
Login failed. Malformed auth code. Please contact your web hosting service provider for assistance.
I've tried a number of different URLs, including:
#gmail.com
me#gmail.com#www.googleapis.com
and a couple of others.
I also can't seem to figure out where the GUI version of cyberduck stores it's authorized credentials... if I could re-use those that would be fine, doing a one-time setup at the beginning doesn't break my use case.
I'm somewhat familiar with the Google Developers API, and I've created one for use with this project, but I can't seem to figure out how the Google "Client ID" and other credentials map to the Cyberduck tool.
Make sure you paste the auth code obtained from the Google login page opened exactly as is without any line breaks. More information is available in the wiki.

How to prevent Google from changing your /etc/hosts file when you restart the network service?

Whenever I change the /etc/hosts file and restart the network service, Google overwrites the file.
So, it is impossible to do. Your server does not directly contain a public IP address. Yes, this screws things up with certain pieces of software, such as ISPConfig. There literally is no way to run ISPConfig on Google currently. Thankfully several other web hosting control panels (cPanel and InerWorx) work with a little bit of hacky configuration. If you want to know how to configure them, reply below.

Download .msi to client and run automatically

Here's the requirement:
1. An uninstall .msi is packaged and placed in IIS server location.
2. The user would be presented with a html page or asp.net page with a link shown in the page.
3. Clicking link in the page, the .msi should be downloaded to the client machine and automatically run.
My main doubt is whether, we can download and automatically run the .msi.
Please share different approaches to implement this requirement.
Thanks in advance.
You cannot do that. Thats what you call 'malicious scripts' unfortunately. Only if he downloads it manually, and runs it, it will be installed.
As Christopher Painter has already pointed out you could use ClickOnce to achieve it, its one of the Deployment Strategy of the ClickOnce technology.
Install from the Web or a Network Share
Using this strategy, your application is deployed to a Web server or a
network file share. When an end user wants to install the application,
he or she clicks an icon on a Web page or double-clicks an icon on the
file share. The application is then downloaded, installed, and started
on the end user's computer. Items are added to the Start menu and the
Add/Remove Programs group in the Control Panel.