Comments (5)
modify flask_sentinel/models.py
class Client(BaseModel):
def allowed_grant_types(self):
- return ['password']
+ return ['password','refresh_token']
then fresh token:
https://localhost:5000/oauth/token?client_id=STmAq9vcrESf5pLcqcCaHvEr65Z6MDyJInbaVSQg&grant_type=refresh_token&refresh_token=nrLXvkXJcvQRollGOjPe1yiNtIWUVz
from flask-sentinel.
Excellent. Would you be willing to submit a PR which also includes a README update?
from flask-sentinel.
YES, very happy to do it, but:
➜ flask-sentinel git:(develop) git push
remote: Permission to nicolaiarocci/flask-sentinel.git denied to janreyho.
fatal: unable to access 'https://github.com/nicolaiarocci/flask-sentinel.git/': The requested URL returned error: 403
from flask-sentinel.
You first need to fork the repository. See https://help.github.com/categories/collaborating-with-issues-and-pull-requests/
from flask-sentinel.
I have already forked the repository on Aug 14, 2016. https://github.com/janreyho/flask-sentinel
Would you be willing to submit a PR which also includes a README update?
This sentence I understand, you want me to push a update to your repository, but I don't have that right.
from flask-sentinel.
Related Issues (20)
- How to validate user data by cerberus?
- Error while trying to generate a new token :: 'bytes' object has no attribute 'encode' HOT 2
- Pypi package not updated (0.0.5 vs 0.0.6) HOT 2
- pip install breaks pip / fails HOT 1
- user hash encoding with python 3 HOT 4
- invalid_grant
- Problem with flask config
- 500 Internal Server Error for "oauth/management"
- Authorization not working HOT 1
- No check for duplicate username
- Project Requires MongoDB, Doesn't provide other DB support.
- How can I generate client token using post api?
- ResourceOwnerPasswordCredentials(app) fails with Unknown option config_prefix error HOT 3
- Linking client_id to a specific endpoint
- 500 Error on correct username and password.
- Cannot import module HOT 1
- Breaking changes with werkzeug==1.0.0 HOT 3
- Switch to authlib HOT 1
- v0.0.7 'save_token' is not handling 'access_token' typecasting according to how redis wants it HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-sentinel.