From 880e4fd115e76881d1e7419bbd55de2ee12defd4 Mon Sep 17 00:00:00 2001 From: Joshua Colvin Date: Fri, 3 Feb 2017 23:22:00 -0500 Subject: [PATCH] Add medium to providers documentation --- Providers.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Providers.md b/Providers.md index de910081..00837c9d 100644 --- a/Providers.md +++ b/Providers.md @@ -361,6 +361,26 @@ providerParams: { } ``` +### Medium + +[Provider Documentation](https://github.com/Medium/medium-api-docs) + + - `scope`: Defaults to `['basicProfile']` + - `config`: not applicable + - `auth`: https://medium.com/m/oauth/authorize + - `token`: https://medium.com/v1/tokens + +The default profile response will look like this: + +```javascript +credentials.profile = { + id: profile.data.id, + username: profile.data.username, + displayName: profile.data.name, + raw: profile.data +}; +``` + ### Meetup [Provider Documentation](http://www.meetup.com/meetup_api/auth)