sethherr / grape-doorkeeper Goto Github PK
View Code? Open in Web Editor NEWGet to API building quickly
Home Page: https://grape-doorkeeper.herokuapp.com
License: MIT License
Get to API building quickly
Home Page: https://grape-doorkeeper.herokuapp.com
License: MIT License
08:08:44 log.1 | NameError (undefined local variable or method `login_url' for #<Doorkeeper::AuthorizationsController:0x007ff27b0e2868>):
08:08:44 log.1 | config/initializers/doorkeeper.rb:12:in `block (2 levels) in <top (required)>'
the issue is in the file of "config/initializers/doorkeeper.rb:12"
should change from
current_user || redirect_to(login_url)
to
current_user || redirect_to(new_user_session_url)
Cross-posting from this issue: doorkeeper-gem/doorkeeper#763 (comment)
It would be best if we included it in an endpoint with pagination.
steps to reproduce
The requested scope is invalid, unknown, or malformed.
proposed fix:
in config file "doorkeeper.rb", change the line from
optional_scopes OAUTH_SCOPES
to
optional_scopes *OAUTH_SCOPES
(unwrap the params)
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.