Coder Social home page Coder Social logo

emmerge / meteor-google-fake Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xolvio/meteor-github-stub

3.0 9.0 5.0 154 KB

A stub for use in testing Meteor apps. Fakes the oauth calls amongst other APIs.

Home Page: https://atmospherejs.com/emmerge/google-fake

License: Other

JavaScript 91.52% HTML 8.48%

meteor-google-fake's Introduction

google-fake Codeship Status for emmerge/meteor-google-fake

A stub for use in testing Meteor apps. Stubs the oauth calls and allows you to fake stub more.

Usage

If you are using Google authentication (accounts-google), add this package like this:

meteor add emmerge:google-fake

Your app will no longer authenticate with Google in development mode and will authenticate with a fake user even if you do not have an internet connection. This package does not affect production as it is a debugOnly package.

About

This package is based on and forked from xolvio:github-fake.

meteor-google-fake's People

Contributors

wheeler avatar samhatoum avatar nsolter avatar

Stargazers

Gwenaël Gallon avatar gregory nicholas avatar  avatar

Watchers

Colin McCloskey avatar  avatar Nicole Aptekar avatar Ian Baker avatar James Cloos avatar Marc Blinder avatar  avatar Jeff avatar  avatar

meteor-google-fake's Issues

Meteor 1.2+ breaks OAuth Server

(oauth_server.js:398) Error in OAuth Server: Failed to fetch tokeninfo from Google. Cannot read property 'scope' of null
Exception while invoking method 'login' Error: Failed to fetch tokeninfo from Google. Cannot read property 'scope' of null
     at getScopes (meteor://?app/packages/google/google_server.js:92:1)
     at Object.ServiceConfiguration.configurations.findOne.service [ashandleOauthRequest] (meteor://?app/packages/google/google_server.js:14:1)
     at OAuth._requestHandlers.(anonymous function) (meteor://?app/packages/oauth2/oauth2_server.js:8:1)
     at middleware (meteor://?app/packages/oauth/oauth_server.js:173:1)
     at meteor://?app/packages/oauth/oauth_server.js:146:1

Removed google-fake and tried accounts-google by itself and it works fine.

Here are relevant packages and their versions:

emmerge:google-fake      version 0.0.4_2
iron:controller          version 1.0.8
iron:core                version 1.0.8
iron:dynamic-template    version 1.0.8
iron:layout              version 1.0.8
iron:location            version 1.0.9
iron:middleware-stack    version 1.0.9
iron:router              version 1.0.9
iron:url                 version 1.0.9
xolvio:http-interceptor  version 0.4.2

Missing LICENSE file

What is the license associated with this project? I'd like to contribute a fix to @ryepdx's meteor-linkedin-fake but need to know the license first. That means I need to know the license for his package, your package (from which his is forked), and @xolvio's meteor-github-stub package from which your package is forked. I'm hoping all 3 of you will see this issue and add license files to your packages. Thanks!

Side note: @ryepdx, I'd have created this issue on your package, but you seem to have disabled issue creation and it wasn't clear how to otherwise report issues.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.