Comments (2)
We can use something like Plack::Middleware::DoormanTwitter and Plack::Middleware::DoormanOpenID on the API server. Once authenticated we set a veeeeeery long living cookie. Third party applications like search.metacpan.org can use JSONP to get the data from api.metacpan.org. This way the cookie is sent to the server and the user is authenticated. Additionally we can generate a token which is sent back to the user which can be used in command line apps or iOS apps to authenticate against the service.
We should add a type "profile" or something such that third party apps can store their metadata (favorites, last visited etc) directly in our metabase.
from metacpan-api.
I think this sounds like a very good idea. The 3rd party metadata in particular would be a pretty powerful addition to the API.
from metacpan-api.
Related Issues (20)
- Distribution name should be treated case insensitively HOT 1
- page_size has no effect on the result HOT 3
- Result is returned with content-type `text/html` HOT 1
- POST /v1/author/{author} and join
- Favorite Leaderboard missing total value in result HOT 1
- File mapping pod_lines property type ought to be array HOT 2
- Difference of output between explorer and actual API HOT 3
- `/v1/rating` returns property `author` and `release` with value `PLACEHOLDER` for all results HOT 1
- Wrong order of arguments for method `all_by_author` HOT 10
- Endpoint `/v1/release/files_by_category` is unexpectedly sensitive to the `Content-Type` submitted
- `/release/by_author` is missing a `from` or `page` option HOT 2
- Missing `user` ID in CPAN accounts HOT 5
- Inconsistent result when using `join`
- Query to endpoint `/package` returns sometimes `version` property with string value of `undef`
- Field 'maturity' in /release/recent API end point HOT 3
- search.cpan.org/api/dist/perl does not list perl 5.26.3
- Getting `download_url` for a specific older release of Perl
- v1/release/versions/perl returns unexpected results HOT 3
- Fix cronjob reporting `Warning: cpanid> element has non-unique value in 'id' key attribute HOT 1
- Search should support the right spelling, regardless of if the user is British. HOT 4
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 metacpan-api.