@@ -686,7 +686,18 @@ def DOCKER_LIMITS(self):
686
686
_SOCIALACCOUNT_PROVIDERS = {
687
687
"github" : {
688
688
"APPS" : [
689
- {"client_id" : "123" , "secret" : "456" , "key" : "" },
689
+ {
690
+ "name" : "GitHub OAuth" ,
691
+ "client_id" : "123" ,
692
+ "secret" : "456" ,
693
+ "key" : "" ,
694
+ "settings" : {
695
+ "hidden" : False ,
696
+ "hidden_on_login" : False ,
697
+ "hidden_on_connect" : False ,
698
+ "priority" : 10 ,
699
+ },
700
+ },
690
701
],
691
702
"SCOPE" : [
692
703
"user:email" ,
@@ -697,14 +708,25 @@ def DOCKER_LIMITS(self):
697
708
},
698
709
"githubapp" : {
699
710
"APPS" : [
700
- {"client_id" : "123" , "secret" : "456" , "key" : "" },
711
+ {
712
+ "name" : "GitHub App" ,
713
+ "client_id" : "123" ,
714
+ "secret" : "456" ,
715
+ "key" : "" ,
716
+ "settings" : {
717
+ "hidden" : False ,
718
+ "hidden_on_login" : False ,
719
+ "hidden_on_connect" : False ,
720
+ "priority" : 20 ,
721
+ },
722
+ },
701
723
],
702
724
# Scope is determined by the GitHub App permissions.
703
725
"SCOPE" : [],
704
726
},
705
727
"gitlab" : {
706
728
"APPS" : [
707
- {"client_id" : "123" , "secret" : "456" , "key" : "" },
729
+ {"client_id" : "123" , "secret" : "456" , "key" : "" , "settings" : { "priority" : 30 } },
708
730
],
709
731
# GitLab returns the primary email only, we can trust it's verified.
710
732
"VERIFIED_EMAIL" : True ,
@@ -715,7 +737,7 @@ def DOCKER_LIMITS(self):
715
737
},
716
738
"bitbucket_oauth2" : {
717
739
"APPS" : [
718
- {"client_id" : "123" , "secret" : "456" , "key" : "" },
740
+ {"client_id" : "123" , "secret" : "456" , "key" : "" , "settings" : { "priority" : 40 } },
719
741
],
720
742
# Bitbucket scope/permissions are determined by the Oauth consumer setup on bitbucket.org.
721
743
},
0 commit comments