Questions tagged [hello.js]

HelloJS is a client-side Javascript SDK for authenticating with OAuth2 (and OAuth1 with a oauth proxy) web services and querying their REST API's.

HelloJS Standardizes paths and responses to common API's like Google Data Services, Facebook Graph and Windows Live Connect. Its modular so that list is growing. No more spaghetti code!

HelloJS supports a lot more actions than just getting the users profile. Like, matching users with a users social friends list, sharing events with the users social streams, accessing and playing around with a users photos.

97 questions
35
votes
2 answers

How do client-side JS libraries for OAuth2 maintain secure authentication?

I'm new to OAuth2 and there's a problem I've been struggling with and despite research still can't grasp. The difficulty in having a JS client for OAuth2 is that you can't store the client secret, because it will be widely accessible in the browser.…
machinery
  • 3,413
  • 4
  • 34
  • 49
10
votes
2 answers

Hello.js vs Passport.js?

I've been wondering about this for a little bit and I've done a bit of searching, but found nothing (except for this, which is different). I'm attempting to clarify the differences between Hello.js and Passport.js, and figure out what the use cases…
jedd.ahyoung
  • 7,450
  • 5
  • 49
  • 89
7
votes
4 answers

How can I debug an Azure application that has insufficient B2C permissions?

The Environment I have an Azure B2C tenant for managing simple username/password sign-up and sign-in, following the example found here: https://github.com/Azure-Samples/active-directory-b2c-javascript-hellojs-singlepageapp The tenant manages the…
David
  • 3,815
  • 21
  • 33
5
votes
2 answers

AADSTS50058: A silent sign-in request was sent but no user is signed in

I am using hello.js to sign in Microsoft Graph. First I initialized by hello.init({ msft: { id: myAppId, oauth: { version: 2, auth: 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize' }, …
Hongbo Miao
  • 31,551
  • 46
  • 124
  • 206
5
votes
1 answer

Using hello.js with React.js

I'd like to understand how to make Hello.js work with React.js , especially the custom event handler hello.on As I'm new to React.js, I don't understand how to bind non React events into the app flow. I tried putting the event handler in the…
paul
  • 572
  • 6
  • 24
5
votes
0 answers

Error: invalid_request - invalid parameter for redirect_uri: Missing authority

I've been working on and off for a few months on getting hello.js to work with my PhoneGap application. Just focusing on Google for now, and when I get redirected in the PhoneGap browser, I'm sent to a 400 error; Error: invalid_request invalid…
Jason Silver
  • 457
  • 9
  • 23
4
votes
3 answers

Intermitent SecurityError DOM Exception 18 on facebook connect

The error is SecurityError: DOM Exception 18 and it happens at replaceState@https://connect.facebook.net/en_US/fbds.js line 9, pos 2343 We do facebook login using hello.js It seems that it is having issues accessing replaceState, and: only happens…
4
votes
3 answers

User profile info getting reset after each page refresh (using Hello.js)

I'm using Hello.js in my AngularJS application to let users authenticate with Facebook. Once the user is logged in and I get the user information from Facebook, I use the json and get the user object from my own database and store it in the root…
Prabhu
  • 11,837
  • 31
  • 115
  • 194
4
votes
1 answer

Javascript library for multiple OAuth 2.0

Are there any popular javascript libraries that provide as a wrapper for multiple oauth2.0 authentication api(s) like Facebook, twitter, Google, & LinkedIn ? I want to allow users on my app to login with these oauth providers & allow me to get me…
Rajat Gupta
  • 23,343
  • 56
  • 165
  • 281
3
votes
1 answer

Refresh token with Graph OAuth v2.0

I'm requesting a user's info via Microsoft Graph. I use the 2.0 endpoint. This is my login function: login() { hello('msft').login({scope: Configs.scope}).then( () => { this.zone.run(() => { …
3
votes
1 answer

instagram login with hello.js

I tried to login instagram with hello.js, but it never direct to https://api.instagram.com/oauth/authorize, otherwise it directs to my redirect url immediately, so I cannot get access token. Here's my code: hello('instagram').login({redirect_uri…
3
votes
2 answers

Javascript SPA, authenticate user with Hello.js social login and validate token from ASPNET5 C# WebApi backend

I'd like to create an application using Angular2 as frontend and the new ASPNET 5 WebApi as backend, but when it comes to authentication/authorisation I feel I'm totally missing the point despite all the reading... Ideally I'd like to authenticate…
Seb
  • 718
  • 1
  • 7
  • 24
3
votes
1 answer

hello.js facebook login redirect uri not supported, app ID invalid

I'm building a mobile app using Intel-xdk along with hello.js (a client side javascript sdk) for facebook login because it's the only thing that makes fb login work for me on Intel. The hello.js instructions were hard for me to figure out even…
Spilot
  • 1,325
  • 6
  • 26
  • 50
3
votes
2 answers

How to determine if a user is logged in with hello.js?

How can I determine if a user is logged in with hello.js? With the Google Sign-In SDK, I can register a callback with gapi.auth2.init() that will be called when the SDK is set up and ready to answer questions like "are you logged in?" hello.js…
stickfigure
  • 12,641
  • 4
  • 30
  • 46
3
votes
2 answers

How do I setup hello.js to access Twitter?

I'm trying to write a simple Javascript page for sending a tweet with a picture using Hello.js. I've used this demo as a starting point but a lot isn't really explained. My init looks like this: hello.init({ 'twitter' : '****' }); It says here…
parsley72
  • 6,932
  • 8
  • 54
  • 78
1
2 3 4 5 6 7