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

ARCH-233: Add JWT Auth Middleware. #65

Merged
merged 1 commit into from Oct 15, 2018

Conversation

robrap
Copy link
Contributor

@robrap robrap commented Oct 3, 2018

From edx-drf-extensions:

  1. EnsureJWTAuthSettingsMiddleware: Ensures proper JWT auth settings
    for endpoints.
  2. JwtAuthCookieMiddleware: Combines the JWT auth cookie parts into a
    JWT auth cookie.

ARCH-233

Pre-merge:

@robrap robrap force-pushed the robrap/ARCH-233-jwt-auth-middleware branch from 29f7b7e to 1b97720 Compare October 3, 2018 20:45
@robrap robrap requested a review from nasthagiri October 3, 2018 20:47
@robrap
Copy link
Contributor Author

robrap commented Oct 3, 2018

@nasthagiri: edx-notes-api has no JWT_AUTH setting, so I would need to set this up in configuration and presumably internals.

@robrap
Copy link
Contributor Author

robrap commented Oct 3, 2018

@nasthagiri: I started on this work, but I think it would be better to try to deploy what we can tomorrow before the other PRs rot and need additional rebasing.

@robrap robrap force-pushed the robrap/ARCH-233-jwt-auth-middleware branch from c79e358 to 546f110 Compare October 9, 2018 17:36
@robrap
Copy link
Contributor Author

robrap commented Oct 9, 2018

FYI: Don't merge until the configuration change is in place:
https://github.com/edx/configuration/pull/4821

From edx-drf-extensions:
1. EnsureJWTAuthSettingsMiddleware: Ensures proper JWT auth settings
   for endpoints.
2. JwtAuthCookieMiddleware: Combines the JWT auth cookie parts into a
   JWT auth cookie.

ARCH-233
@robrap robrap force-pushed the robrap/ARCH-233-jwt-auth-middleware branch from 546f110 to d4cbce2 Compare October 9, 2018 17:42
@codecov-io
Copy link

codecov-io commented Oct 9, 2018

Codecov Report

Merging #65 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #65   +/-   ##
=======================================
  Coverage   85.37%   85.37%           
=======================================
  Files          14       14           
  Lines         417      417           
  Branches       42       42           
=======================================
  Hits          356      356           
  Misses         51       51           
  Partials       10       10

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b411302...d4cbce2. Read the comment docs.

@robrap robrap merged commit 8ea1ab6 into master Oct 15, 2018
@robrap robrap deleted the robrap/ARCH-233-jwt-auth-middleware branch October 15, 2018 15:11
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.

None yet

2 participants