Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Server] Do not perform encode/decode of token when making requests to Provider #11057

Merged
merged 1 commit into from
May 28, 2024

Conversation

MUzairS15
Copy link
Contributor

Notes for Reviewers

When making requests to the remote provider, the JWT issued was being decoded on the server side. The PR ensures that decoding now occurs directly at the provider, making the Meshery server independent of this process. This adjustment also ensures adaptability in case of any alterations in the Remote Provider's encoding/decoding or token verification procedures.

Signed commits

  • Yes, I signed my commits.

Signed-off-by: MUzairS15 <muzair.shaikh810@gmail.com>
Copy link

Copy link

codecov bot commented May 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 9.00%. Comparing base (78fdd11) to head (17acf25).
Report is 17 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #11057   +/-   ##
=======================================
  Coverage    9.00%    9.00%           
=======================================
  Files         146      146           
  Lines       19274    19274           
=======================================
  Hits         1736     1736           
  Misses      17236    17236           
  Partials      302      302           
Flag Coverage Δ
unittests 9.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MUzairS15 MUzairS15 merged commit e0c1bb5 into meshery:master May 28, 2024
17 checks passed
@MUzairS15 MUzairS15 deleted the MUzairS15/auth branch June 6, 2024 17:37
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.

1 participant