City-of-Helsinki / maritime-maas

MIT License
0 stars 3 forks source link

MAAS-82 | Disable basic and session authentication for the API #58

Closed charn closed 3 years ago

charn commented 3 years ago

API allowed to use multiple ways to authenticate with the API, this PR leaves only the Bearer token authentication method. Session authentication is also enabled when debugging.

codecov-commenter commented 3 years ago

Codecov Report

Merging #58 (4902af9) into main (3ed7cc3) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #58   +/-   ##
=======================================
  Coverage   88.41%   88.41%           
=======================================
  Files          45       45           
  Lines        1442     1442           
  Branches      111      111           
=======================================
  Hits         1275     1275           
  Misses        137      137           
  Partials       30       30           
Impacted Files Coverage Δ
maritime_maas/settings.py 83.92% <ø> (ø)

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 3ed7cc3...4902af9. Read the comment docs.

charn commented 3 years ago

Enabled session authentication when DEBUG is True