Giter Site home page Giter Site logo

node-js-sdk's Introduction

OneAll

The .Net OneAll SDK originally created by me at XPG. Contains code examples that show you how to use OneAll REST API and how to implement and customize Social Login on your own website. The OneAll.Net SDK supports single and multiple OneAll REST API connections simultaneously. It also includes extension methods for use in ASP.Net Web Pages as well as extensions for .Net MVC Razor Engine and a singleton API class for easy server side interaction. Full CHM documentation is included.

node-js-sdk's People

Contributors

marcooliveira avatar nelsuo avatar satazor avatar schlesserclaude avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

node-js-sdk's Issues

Angularjs issue

I've integrated oneAll social login but I am able to find out way how to create callback in angularjs for token?
Please help.

oneall.connection.getAll

oneall.connection.getAll(
1,
function (err, data, fullData) {
if (err) {
throw(err);
}
console.log('Meaningful data: ', data);
console.log('Full data: ', fullData);
}
);
I have the error below.
err: [SyntaxError: Unexpected token C]

oneall.user.get expect identity_token

expects an identity_token, not a user_token!
When you try to send a user_token you get this error:

I20160916-20:15:00.734(2)? Meaningful data:  { status:
I20160916-20:15:00.734(2)?    { flag: 'error',
I20160916-20:15:00.735(2)?      code: 404,
I20160916-20:15:00.735(2)?      info: 'No identity has been found for the specified identity_token' }

Problems -- deprecated dependencies

The request package has been deprecated ... should probably use the fetch api instead

Need to make into an ES6 module.

after running awhile if fails to work correctly ... memory issue? not sure why without taking a fair amount to time debugging. Fails connection tokens that are valid. Restarting the app solves the issue for a while until it starts happening again.

Need to get rid of vars and replace with let, make into ES6 module, target Node 18 and later, not use any dependencies.

After playing around with the REST API using Postman, I am probably going to write my own ES6 module for token verification. This package seems to be more complex than it needs to be.

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.