Azure / Azure/azure-saas

Signup Error: AADB2C90068: The provided application with ID 'xxx' is not valid against this service.

Open
#272 9 comments 0 reactions 0 assignees View on GitHub
bug needs research or confirmation
Dominant language
C#
Stars
360
Forks
332
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
After successfully deploy the application I'm not abel to signup or login.
I checked the app registrations and they are created in correclty in in the azure b2c tenant

**To Reproduce**
Steps to reproduce the behavior:
0. Fork Repo
1. Fresh Deployment of all Components
```bash
echo "Start of setup.sh"
# get script directory
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"

# create array of folder names
echo
read -p "run Saas.IdentityProvider" -n 1 -r CONTINUE_SCRIPT
if [[ $CONTINUE_SCRIPT =~ ^[Yy]$ ]]; then
targetDir="${SCRIPT_DIR}/src/Saas.Identity/Saas.IdentityProvider/deployment"
echo "dir ${targetDir}"
cd $targetDir
# run setup script
./setup.sh
./run.sh
fi

echo
read -p "run Saas.Permissions" -n 1 -r CONTINUE_SCRIPT
if [[ $CONTINUE_SCRIPT =~ ^[Yy]$ ]]; then
targetDir="${SCRIPT_DIR}/src/Saas.Identity/Saas.Permissions/deployment"
echo "dir ${targetDir}"
cd $targetDir
# run setup script
./setup.sh
./run.sh
fi

echo
read -p "run Saas.Admin" -n 1 -r CONTINUE_SCRIPT
if [[ $CONTINUE_SCRIPT =~ ^[Yy]$ ]]; then
targetDir="${SCRIPT_DIR}/src/Saas.Admin/deployment"
echo "dir ${targetDir}"
cd $targetDir
# run setup script
./setup.sh
./run.sh
fi

echo
read -p "run Saas.SignupAdministration" -n 1 -r CONTINUE_SCRIPT
if [[ $CONTINUE_SCRIPT =~ ^[Yy]$ ]]; then
targetDir="${SCRIPT_DIR}/src/Saas.SignupAdministration/deployment"
echo "dir ${targetDir}"
cd $targetDir
# run setup script
./setup.sh
./run.sh
fi

echo
read -p "run Saas.Application" -n 1 -r CONTINUE_SCRIPT
if [[ $CONTINUE_SCRIPT =~ ^[Yy]$ ]]; then
targetDir="${SCRIPT_DIR}/src/Saas.Application/deployment"
echo "dir ${targetDir}"
cd $targetDir
# run setup script
./setup.sh
./run.sh
fi
```
4. Commit and Deploy gitworkflow changes
5. Run all Gitworkflows
3. Open signupadmin or saas-app webapp
4. Click on Sign Up / Sign In ==> Error

**Expected behavior**
- User should be abel to Sign Up or Login

**Screenshots**
image

**Desktop (please complete the following information):**
- OS: Windows .
- Browser Edge

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the deployment setup.sh and run.sh scripts under src/Saas.Identity/Saas.IdentityProvider/deployment, src/Saas.Identity/Saas.Permissions/deployment, src/Saas.Admin/deployment, src/Saas.SignupAdministration/deployment, and src/Saas.Application/deployment, along with the GitHub workflow changes. Start by checking how the Azure B2C app registrations and IDs are passed into the deployed web apps. Done means a fresh deployment allows the signup and sign-in flow to complete without AADB2C90068.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, bash, csharp, github-actions
Domain
authentication, cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.