Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 37 additions & 12 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,58 @@
"image": "mcr.microsoft.com/devcontainers/dotnet:1-8.0-bookworm",

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [5000, 5001],
// "portsAttributes": {
// "5001": {
// "protocol": "https"
// }
// }
"features": {
//Az CLI install
"azure-cli": {
"version": "latest"
},
//Terraform + tflint install
"ghcr.io/devcontainers/features/terraform:latest": {
"version": "latest",
"tflint": "latest"
},
// Azure Function Core tools + Visual Studio Extension install
"ghcr.io/jlaundry/devcontainer-features/azure-functions-core-tools:1": {},
// Node JS :
"ghcr.io/devcontainers/features/node:1": {
"version": "20",
"nvmVersion": "latest",
"installYarn": true
}
},
"forwardPorts": [
7071,
10000,
10001,
10002
],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "dotnet restore",
"postCreateCommand": "curl -sSL https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && echo 'deb https://ngrok-agent.s3.amazonaws.com buster main' | sudo tee /etc/apt/sources.list.d/ngrok.list && sudo apt update && sudo apt install ngrok",

// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
// Azurite : Storage Account Emulator for local Azure Function Debug
"azurite.azurite",
"humao.rest-client",
// Terraform
"hashicorp.terraform",

// Language Specifics
"ms-dotnettools.csharp",
"ms-dotnettools.vscodeintellicode-csharp",
"ms-dotnettools.csdevkit",
"ms-azuretools.ms-entra",
"ms-vscode.vscode-node-azure-pack",
"ms-vscode.azure-account"
"ms-vscode.azure-account",
"devondcarew.bazel-code",
"ms-vscode.vscode-typescript-tslint-plugin"
]
}
},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
"remoteUser": "root"
}
15 changes: 0 additions & 15 deletions .vscode/launch.json

This file was deleted.

21 changes: 21 additions & 0 deletions .vscode/projects.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"folders": [
{
"path": ".."
},
{
"path": "../src/MSAL_Example"
},
{
"path": "../src/Backend"
},
{
"path": "../src/SPA_JS_Vanilla/App",
"name": "SPA_JS_Vanilla"
},
{
"path": "../src/WIP/AzFunc/BlobTrigger"
},
],
"settings": {}
}
15 changes: 0 additions & 15 deletions .vscode/tasks.json

This file was deleted.

13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
# Serverless Event Driven Architecture Example

# Configure Custom Attributes :


# Resources :

- [Azure Data Table SDK Reference](https://azuresdkdocs.blob.core.windows.net/$web/dotnet/Azure.Data.Tables/12.4.0/index.html#:~:text=The%20set%20of%20existing%20Azure%20tables%20can%20be,cref%3D%22Pageable%22%3E%20in%20order%20to%20access%20queried%20tables.%20Console.WriteLine%28table.Name%29%3B)
- [Define Custom Attributes](https://learn.microsoft.com/en-us/entra/external-id/customers/how-to-define-custom-attributes#create-custom-user-attributes)
- [Custom Attributes in Token](https://learn.microsoft.com/en-us/entra/external-id/customers/how-to-add-attributes-to-token)
- [Configure Group Claims](https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/how-to-connect-fed-group-claims)
- [Graph Application Extension Attributes Test](https://mzansibytes.com/2022/01/08/working-with-extension-attributes-using-microsoft-graph/)
- [Custom Claims Article](https://techcommunity.microsoft.com/blog/appsonazureblog/basic-understanding-on-microsoft-entra-custom-claims-provider/4125866)

# Disable Sign-up :
- [(Preview) MSGraph Disable Sign-Up process](https://github.com/MathiasMSFT/MyWiki/blob/main/Entra%20External%20ID/Disable-SignUp.md)
- [Custom Authentication Extension Overview](https://learn.microsoft.com/en-us/entra/identity-platform/custom-extension-overview)
Loading