@sowell/quasar-app-extension-auth 1.4.8 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sowell/quasar-app-extension-auth",
3
- "version": "1.4.8",
3
+ "version": "1.5.0",
4
4
  "description": "A Quasar app extension to manage Authentication",
5
5
  "main": "src/index.js",
6
6
  "repository": "https://github.com/sowell-ai/quasar.extension.auth",
@@ -99,15 +99,7 @@
99
99
  {{ $t("auth.forgottenPassword") }}
100
100
  </div>
101
101
  <template v-if="USE_SSO">
102
- <div class="full-width">
103
- <q-separator color="#727272" />
104
- </div>
105
- <div
106
- class="q-mb-sm q-mt-md forgot-password-link self-start text-weight-medium">
107
- {{ $t("auth.continueWith") }}
108
- </div>
109
-
110
- <div class="row justify-between full-width items-center">
102
+ <div class="row justify-between full-width items-center q-mt-md">
111
103
  <!-- <q-btn
112
104
  data-testid="google-btn"
113
105
  unelevated
@@ -123,12 +115,12 @@
123
115
  unelevated
124
116
  no-caps
125
117
  dense
126
- class="col sso-btn btn-label"
118
+ class="col sso-btn"
127
119
  @click="msalAuth">
128
120
  <img
129
121
  src="../../assets/logo-microsoft.svg"
130
122
  class="btn-icon" />
131
- Microsoft
123
+ {{ $t("auth.continueWithMicrosoft") }}
132
124
  </q-btn>
133
125
  </div>
134
126
  </template>
@@ -410,10 +402,13 @@ export default defineComponent({
410
402
  }
411
403
 
412
404
  .sso-btn {
405
+ font-size: 14px;
406
+ border-radius: 8px;
407
+ height: 50px;
408
+ font-weight: 600;
413
409
  background: #ebeeef;
414
410
  color: #112240;
415
- height: 36px;
416
- }
411
+ }
417
412
 
418
413
  .error_input {
419
414
  min-height: 50px;
@@ -483,7 +478,7 @@ export default defineComponent({
483
478
  margin: 16px;
484
479
  }
485
480
 
486
- .login-button {
481
+ .login-button, .sso-btn {
487
482
  height: 40px;
488
483
  }
489
484
 
@@ -155,7 +155,6 @@ export function useAuth() {
155
155
  msalLoading.value = false
156
156
 
157
157
  if (!token) {
158
- apiErrorMessage.value = t("auth.loginFailed")
159
158
  return
160
159
  }
161
160