-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
303 migrate login system to microsoft entra external (#313)
- Completed Azure AD B2C integration - updated dependencies - Created global error page - Renamed `lib` folder to `utils` - Impelemented generic UI error handler - Created an event-bus - Updated DB schema to support new user model - Updated .env settings for Azure AD B2C - XDataTable now supports custom Create button label - Updated implementation of users screen - Removed approles endpoints - Refactored AppRoles to a enum
- Loading branch information
Showing
83 changed files
with
11,984 additions
and
10,386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
NODE_TLS_REJECT_UNAUTHORIZED=0 | ||
NODE_ENV=development | ||
NUXT_ORIGIN: https://localhost:3000 | ||
POSTGRES_USER: postgres | ||
POSTGRES_PASSWORD: postgres | ||
POSTGRES_HOST: db | ||
POSTGRES_PORT: 5432 | ||
POSTGRES_DB: cathedral | ||
GH_CLIENT_ID: Ov23lij8q5YhcosEjIzQ | ||
GH_CLIENT_SECRET: 27c98b69344086c13bc15290e1a8b8c86a910d58 | ||
AUTH_SECRET: e792b76a-2573-45d4-a39b-3b8db5712f9c | ||
AUTH_ORIGIN: https://localhost:3000 | ||
# SLACK_ADMIN_MEMBER_ID: *** | ||
# SLACK_BOT_TOKEN: *** | ||
# SLACK_SIGNING_SECRET: *** | ||
# APPLICATIONINSIGHTS_CONNECTION_STRING: *** | ||
# APPINSIGHTS_INSTRUMENTATIONKEY: *** | ||
NUXT_SESSION_PASSWORD: ###generate a random string### | ||
NUXT_AUTH_CLIENT_ID: ###contact the team for the client id### | ||
NUXT_AUTH_CLIENT_SECRET: ###contact the team for the client secret### | ||
NUXT_AUTH_TENANT_NAME: cathedralfinalhillb2c | ||
NUXT_AUTH_TENANT_ID: ###contact the team for the tenant id### | ||
NUXT_AUTH_AUTHORITY_DOMAIN: cathedralfinalhillb2c.b2clogin.com | ||
NUXT_AUTH_PRIMARY_USER_FLOW: B2C_1_signupsignin2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!-- Ref: https://nuxt.com/docs/guide/directory-structure/error --> | ||
<script setup lang="ts"> | ||
import type { NuxtError } from '#app' | ||
definePageMeta({ | ||
auth: { unauthenticatedOnly: true, navigateAuthenticatedTo: '/' } | ||
}) | ||
const props = defineProps({ | ||
error: Object as () => NuxtError | ||
}) | ||
const handleError = () => clearError({ redirect: '/' }) | ||
</script> | ||
|
||
<template> | ||
<div> | ||
<h2>{{ error?.statusCode }}</h2> | ||
<pre>{{ error?.message }}</pre> | ||
<Button @click="handleError" label="Clear error" /> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.