Skip to content

Added JWT Auth feature #657

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

Closed
wants to merge 1 commit into from
Closed

Added JWT Auth feature #657

wants to merge 1 commit into from

Conversation

satyyam11
Copy link

This PR introduces JWT authentication support for API requests in API Dash. Users can now add JWT tokens to their requests for authentication. This feature ensures that requests to protected endpoints include the necessary authorization token when required.

Changes Introduced:
Added jwt_utils.dart to handle JWT encoding, decoding, validation, and storage.
Updated http_util.dart to include JWT token support in request headers when needed.
Implemented unit tests to verify JWT authentication functionality.

Related Issues
Closes #613
Checklist
I have gone through the contributing guide.
I have updated my branch and synced it with the project's main branch before making this PR.
I am using the latest Flutter stable branch
I have run the tests and all tests are passing.
Added/Updated Tests? No because there was an import issue coming.

OS on which you have developed and tested the feature
Windows

@ashitaprasad
Copy link
Member

This PR:

  • Lacks issue requirement understanding
  • Has no frontend design & integration
  • Is not using the existing apidash_core library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add API Auth: JWT Bearer
2 participants