Questions tagged [grant-oauth]

Grant is OAuth middleware for NodeJS, with handlers for Express, Koa, Hapi, Fastify, AWS Lambda, Azure Functions, Google Cloud Functions and Vercel.

Grant is OAuth middleware for NodeJS, with handlers for Express, Koa, Hapi, Fastify, AWS Lambda, Azure Functions, Google Cloud Functions and Vercel. It supports hundreds of providers for both OAuth1.0 and OAuth2, and it is configured via straightforward JSON data structure.

Resources

8 questions
3
votes
3 answers

Grant Provider OAuth state mismatch when accessing the two application modules simultaneously on same browser and user is not logged in yet

I have been trying to implement Single SignOn(SSO). I have different frontend application modules which are running on different domain and they all utlize a single API server. SSO Server https://sso.app.com API Server https://api.app.com Frontend…
1
vote
0 answers

NodeJS Grant - Oauth with Django Oauth Toolkit app

I'm working with two servers, one a NodeJS app (FeathersJS and Grant for authentication), and the other is a Django app, using django-oauth-toolkit for authentication. https://github.com/simov/grant https://pypi.org/project/django-oauth-toolkit/ I…
twoLeftFeet
  • 693
  • 1
  • 5
  • 25
1
vote
2 answers

Retrieving data from Pocket API (oAuth)

I need to retrieve my saved reading list from my Pocket account and it seems that I need to acquire access token through their oAuth to make a request. I've got consumer key for the access token and as per Pocket API documentation, the request will…
Seong Lee
  • 10,314
  • 25
  • 68
  • 106
1
vote
1 answer

Express.js connecting to Twitter

I am trying to Oauth authenticate with Twitter, using Express.js and Grant on my Windows 7 machine. When I run node app.js in command line I get the following: The question is why doesn't MADE IT HERE also get outputted in the console. Also, what…
Bob Smith
  • 505
  • 3
  • 10
  • 27
0
votes
0 answers

Twitter login doesn't redirect back to my app

I'm using https://github.com/simov/grant to add login with Twitter feature, but for some reason twitter is failing to redirect back to my app after it authorises me. Here's the url I'm providing for rederict: I have dummy.com alias in my…
dKab
  • 2,658
  • 5
  • 20
  • 35
0
votes
1 answer

Can't get response data with Oauth2/BaseCamp API

I am an "advanced beginner" with javascript API's so my needs maybe sophomoric, but after pounding my head against the wall all night appreciate any basic guidance you can provide. I am trying to authenticate an app using Oauth2 to hit my BaseCamp…
edswartz
  • 491
  • 3
  • 13
0
votes
1 answer

NPM Grant OAuth Middleware "invalid_redirect" error

I have been trying to use this elegant looking package to authenticate with Jawbone API. But I keep getting this error - I have configured my "app" with the Jawbone API service to use these Redirect URIs - My config file looks like this…
Colin
  • 930
  • 3
  • 19
  • 42
0
votes
1 answer

Issue with grant for OAuth2 authentication with google

I am using Grant for OAuth2 authentication with google. I supplied all the parameters in the config.json : { "server": { "protocol": "https", "host": "thooslo-com-shaunakde.c9.io" }, "google":{ "authorize_url":…
shaunakde
  • 3,009
  • 3
  • 24
  • 39