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.

99 questions
37
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,793
  • 4
  • 41
  • 52
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…
user677526
8
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
  • 13,133
  • 1
  • 30
  • 39
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
  • 45,290
  • 60
  • 174
  • 267
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
  • 527
  • 7
  • 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
  • 12,995
  • 33
  • 127
  • 210
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
  • 25,853
  • 63
  • 179
  • 294
3
votes
3 answers

Facebook periodic review is unclear

in order to approve your app’s continued operation on our platform. Platforms affected: Connect URL. Developer Policy 1.2: Build an app that is stable and easily navigable.Some common violations of this policy include: - Broken Facebook integration…
Mart123
  • 327
  • 2
  • 13
3
votes
1 answer

React Microsoft Outlook Calendar data Without Login Session using Hello.js

I am creating a React calendar that take data from "Microsoft Outlook Calendar" using the client-side JavaScript SDK "hello.js" and Microsoft Graph (for the set up I also followed this guide:…
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
3 answers

How to validate Microsoft Graph API jwt access_token and secure your API?

Scenario: I have an angular5 client application, which uses hello.js to authenticate users using their office 365 credentials. Client Code: hello.init({ msft: { id: configuration.AppID, oauth: { version: 2, …
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
  • 778
  • 1
  • 9
  • 27
1
2 3 4 5 6 7