omniauth / omniauth-venmo Goto Github PK
View Code? Open in Web Editor NEWOmniAuth strategy for Venmo
OmniAuth strategy for Venmo
Additionally, there might be a problem with the scopes. It is currently only passing the default access profile argument even with others specified.
Thanks again!
On 11/8 Venmo will be deploying changes to how they grant long-lived tokens to API consumers. This does not affect tokens that have already been granted.
refresh_token
field included in the server-side authentication response) for a new access_token
, refresh_token
pair. Note that exchanging a refresh token for new tokens must be done only after the associated access token has expired.expires_in
field will now be included in the server-side authentication response. The value is in seconds.{
"access_token": ACCESS_TOKEN,
"user": {...}
}
{
"access_token": ACCESS_TOKEN,
"user": {...},
"refresh_token": REFRESH_TOKEN,
"expires_in": 5184000
}
After the token has expired, you need to POST
to /oauth/access_token
with REFRESH_TOKEN
, CLIENT_ID
, CLIENT_SECRET
and receive a new access token, refresh token, and time to expiration.
Hey,
The redirct url path (user_omniauth_authorize_path) has changed so the redirect is no longer (https://api.venmo.com/oauth/) but (https://api.venmo.com/v1/oauth/), the v1 has been added. As such I can longer authenticate. Can you please advise.
Is it possible that the v1 addition in your strategy file is not respected by rails 4 or oauth2 ?
Hi, I am able to pull up the venmo login but only if I get rid of the brackets on the ENV['client_id'] and secret, then - I get
{"error": {"message": "Missing argument: client_id.", "code": 241}} on the callback, and it endlessly repeats itself...
solved rails 4.0.x issue...
Use with 3.2.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.