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

Back - WordPress - Secure endpoints with JWT Token authentication #124

Open
13 tasks
lcubeddu opened this issue Jul 15, 2024 · 0 comments
Open
13 tasks

Back - WordPress - Secure endpoints with JWT Token authentication #124

lcubeddu opened this issue Jul 15, 2024 · 0 comments
Assignees
Labels
admin 🔑 Admninistrator issue enhancement 🚀 New feature or request

Comments

@lcubeddu
Copy link
Contributor

lcubeddu commented Jul 15, 2024

️Notes

Require the use of a JWT bearer token for all existing XPEAPP endpoints.

Prerequisites

  • DOR
  • DOD

Context (User Story)

As a dev/admin/user

I want to develop/manage/use

In order to work

Steps

  • Step 1: For each XpeApp endpoint, add a 'permission_callback' => checkingFunction line. See this document
  • Step 2: Add the PHPUnit test cases.

Acceptance Criteria

  • ⛔ Test cases pass

Blockers

Planned test cases

What are the test cases required to validate this issue?

  • Test case 1: All protected endpoints fail when no JWT Token is given
  • Test case 2: All protected endpoints fail when an incorrect JWT Token is given
  • Test case 3: All protected endpoints (that can be tester) work when a correct JWT Token is given

What kind of tests has been put in place to ensure the issue is resolved?

  • Manual Tests
  • Unit Tests
  • Integration Tests
  • Functional Tests
  • End To End Tests
  • Other (elaborate)
@lcubeddu lcubeddu added enhancement 🚀 New feature or request admin 🔑 Admninistrator issue labels Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin 🔑 Admninistrator issue enhancement 🚀 New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants