Skip to content

Commit 929912f

Browse files
committed
Added github for iOS
1 parent 3714bb7 commit 929912f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/authProviders.js

+7
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ export const authProviders = {
5151
access_token_url: 'https://accounts.google.com/o/oauth2/token',
5252
callback_url: ({app_name}) => `${app_name}://oauth-response`,
5353
validate: validate()
54+
},
55+
'github': {
56+
auth_version: '2.0',
57+
authorize_url: 'https://github.com/login/oauth/authorize',
58+
access_token_url: 'https://github.com/login/oauth/access_token',
59+
callback_url: ({app_name}) => `${app_name}://oauth`,
60+
validate: validate()
5461
}
5562
}
5663

0 commit comments

Comments
 (0)