@@ -29,8 +29,9 @@ Loading.args = {
29
29
...SignedOut . args ,
30
30
isLoading : true ,
31
31
authMethods : {
32
- github : true ,
33
- password : true ,
32
+ password : { enabled : true , hidden : false } ,
33
+ github : { enabled : true } ,
34
+ oidc : { enabled : false , signInText : "" , iconUrl : "" } ,
34
35
} ,
35
36
}
36
37
@@ -99,28 +100,28 @@ export const WithGithub = Template.bind({})
99
100
WithGithub . args = {
100
101
...SignedOut . args ,
101
102
authMethods : {
102
- password : true ,
103
- github : true ,
104
- oidc : false ,
103
+ password : { enabled : true , hidden : false } ,
104
+ github : { enabled : true } ,
105
+ oidc : { enabled : false , signInText : "" , iconUrl : "" } ,
105
106
} ,
106
107
}
107
108
108
109
export const WithOIDC = Template . bind ( { } )
109
110
WithOIDC . args = {
110
111
...SignedOut . args ,
111
112
authMethods : {
112
- password : true ,
113
- github : false ,
114
- oidc : true ,
113
+ password : { enabled : true , hidden : false } ,
114
+ github : { enabled : false } ,
115
+ oidc : { enabled : true , signInText : "" , iconUrl : "" } ,
115
116
} ,
116
117
}
117
118
118
119
export const WithGithubAndOIDC = Template . bind ( { } )
119
120
WithGithubAndOIDC . args = {
120
121
...SignedOut . args ,
121
122
authMethods : {
122
- password : true ,
123
- github : true ,
124
- oidc : true ,
123
+ password : { enabled : true , hidden : false } ,
124
+ github : { enabled : true } ,
125
+ oidc : { enabled : true , signInText : "" , iconUrl : "" } ,
125
126
} ,
126
127
}
0 commit comments