Comments (5)
Use the self
filter: api/edge/users?filter[self]=true
from kitsu-tutorial.
Yeah, I know that, but you need to do another request just for the ID...... What I'm saying is that the token request should also return the user's ID, or at least have an option to tell it to, to save the extra request, since most of the time if someone needs the token, he'll need the ID of that user.
from kitsu-tutorial.
That's currently not possible, as its not a standard property of oAuth2
Once proper oAuth2 with scopes and (actual) app-specific clientId
is implemented soon, it could be an extra addition that gets injected into the returned response. E.g:
{
"access_token":"036b9495-16d3-476e-b53a-ed5dfc7d6513",
"expires_in":7199,
"refresh_token":"811235f4-b39d-4626-b940-34399e7bc737",
"token_type":"Bearer",
"user_id":"2",
}
Although this is better suited at https://github.com/hummingbird-me/hummingbird
from kitsu-tutorial.
Okay, thanks for explaining..... I didn't post it on the main Kitsu page because I thought it's more of a back-end problem rather than a front-end, but I guess I'm wrong. Next time I'll write on that thread.
from kitsu-tutorial.
Hi, is it possbile to get a anime myanimelist ID?
from kitsu-tutorial.
Related Issues (1)
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 kitsu-tutorial.