Skip to content

Conversation

@coderzc
Copy link
Member

@coderzc coderzc commented Jun 12, 2025

Fixes #

(or if this PR is one task of a github issue, please add Master Issue: #<xyz> to link to the master issue.)

Master Issue: #

Motivation

Currently, the mop has set subscriptionName to role, it should be set to clientId.

Modifications

  • Pass correct subscriptionName to AuthorizationProvider.
  • Handle exception for authorization

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Documentation

Check the box below.

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

@github-actions
Copy link

@coderzc:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@coderzc coderzc force-pushed the fix_subs_auth_mode_prefix branch from ca4c236 to 092fb58 Compare June 12, 2025 12:57
@coderzc coderzc force-pushed the fix_subs_auth_mode_prefix branch from 092fb58 to 46043ef Compare June 12, 2025 13:02
Technoboy-
Technoboy- previously approved these changes Jun 13, 2025
@Technoboy-
Copy link
Contributor

Need to fix the tests

@Technoboy- Technoboy- merged commit cda953f into master Jun 17, 2025
95 of 96 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants