bcgov / bcgov/entity

Authorization fails for Name Request accounts

Open
#8,801 1 comment 0 reactions 0 assignees View on GitHub
bug Pay Priority3
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

**Describe the bug in current situation**
Authorization fails for Name Request accounts. This is due to the fact that pay-api sends the product-code as a header parameter and auth-api is expecting this header parameter for partner applications. Due to some recent refactoring this wasn't accounted and causes issue when an authenticated Name Request user does a transaction. For now, a workaround has been applied in PROD to treat the Name Request as a partner application.

**Link bug to the User Story**

**Impact of this bug**
All the NR authenticated users with more than one user in account would fail

**Chance of Occurring (high/medium/low/very low)**
High

**Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?**

**Steps to Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Actual/ observed behavior/ results**

**Expected behavior**
A clear and concise description of what you expected to happen. Use the gherking language.

**Screenshots/ Visual Reference/ Source**
If applicable, add screenshots to help explain your problem. You an use screengrab.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.