File tree Expand file tree Collapse file tree 2 files changed +22
-5
lines changed Expand file tree Collapse file tree 2 files changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -70,14 +70,22 @@ Vue.config.productionTip = false
70
70
71
71
const authGuardSettings = {
72
72
debug: true , // enable debug messages in console log
73
- router, // routes
74
73
session: " local" , // session persistance
74
+
75
+ router, // routes
75
76
firebase, // pass on firebase middleware app init
76
- verification: false , // require user email to be verified before granting access
77
- registration: true , // allow new user registrations
77
+
78
+ saml: false , // allow authentication with SAML
79
+ saml_text: " Login with OKTA" , // text for large login button
80
+ saml_provider_id: " saml.okta" , // firebase provider ID for SAML
81
+
82
+ email: true , // allow authentication with email
78
83
phone: false , // allow authentication with phone
79
84
google: true , // allow authentication with gmail account
80
85
facebook: false , // allow authentication with facebook account
86
+
87
+ verification: false , // require user email to be verified before granting access
88
+ registration: true , // allow new user registrations
81
89
}
82
90
83
91
Vue .use (AuthGuard, authGuardSettings)
Original file line number Diff line number Diff line change @@ -3,13 +3,22 @@ export default {
3
3
store : null , // vuex store
4
4
router : null , // routes
5
5
firebase : null , // pass on firebase middleware app init
6
- verification : false , // require user email to be verified before granting access
7
- registration : true , // allow new user registrations
6
+
7
+ saml : false , // allow authentication with saml
8
+ saml_text : "Login with SAML" , // saml button text
9
+ saml_provider_id : "saml.okta" , // saml provider id
10
+
11
+ email : true , // allow authentication with email
8
12
phone : false , // allow authentication with phone
9
13
google : false , // allow authentication with gmail account
10
14
facebook : false , // allow authentication with facebook account
15
+
11
16
title : "Authenticate" ,
12
17
subtitle : "Firebase Vuetify Authentication NPM package" ,
18
+
13
19
icon : "mdi-brightness-7" , // authentication prompt icon
14
20
iconColor : "orange" , // authentication prompt icon color
21
+
22
+ verification : false , // require user email to be verified before granting access
23
+ registration : true , // allow new user registrations
15
24
}
You can’t perform that action at this time.
0 commit comments