We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f424e8 commit bd18bcdCopy full SHA for bd18bcd
README.md
@@ -533,6 +533,21 @@ We can `deauthorize()` our user's from using the provider by calling the `deauth
533
manager.deauthorize('twitter');
534
```
535
536
+## Adding your own providers
537
+
538
+To add your own providers you can use the `addProvider()` method and fill in your provider details:
539
540
+```javascript
541
+manager.addProvider({
542
+ 'name_of_provider': {
543
+ auth_version: '2.0',
544
+ authorize_url: 'https://provider.dev/oauth',
545
+ access_token_url: 'https://provider.dev/oauth/token',
546
+ callback_url: ({app_name}) => `${app_name}://oauth`,
547
+ }
548
+});
549
+```
550
551
## Contributing
552
553
This is _open-source_ software and we can make it rock for everyone through contributions.
0 commit comments