Skip to content

Commit bbc48b2

Browse files
committed
Merge branch 'develop'
2 parents b748e33 + b124139 commit bbc48b2

File tree

2 files changed

+22
-5
lines changed

2 files changed

+22
-5
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,22 @@ Vue.config.productionTip = false
7070

7171
const authGuardSettings = {
7272
debug: true, // enable debug messages in console log
73-
router, // routes
7473
session: "local", // session persistance
74+
75+
router, // routes
7576
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
7883
phone: false, // allow authentication with phone
7984
google: true, // allow authentication with gmail account
8085
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
8189
}
8290

8391
Vue.use(AuthGuard, authGuardSettings)

src/store/defaultSettings.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,22 @@ export default {
33
store: null, // vuex store
44
router: null, // routes
55
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
812
phone: false, // allow authentication with phone
913
google: false, // allow authentication with gmail account
1014
facebook: false, // allow authentication with facebook account
15+
1116
title: "Authenticate",
1217
subtitle: "Firebase Vuetify Authentication NPM package",
18+
1319
icon: "mdi-brightness-7", // authentication prompt icon
1420
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
1524
}

0 commit comments

Comments
 (0)