Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 16 16:17
    scala-steward closed #513
  • Jun 16 16:17
    scala-steward commented #513
  • Jun 16 16:17
    scala-steward opened #514
  • Jun 10 20:12
    scala-steward closed #487
  • Jun 10 20:12
    scala-steward commented #487
  • Jun 10 20:12
    scala-steward opened #513
  • Jun 10 12:18
    scala-steward closed #510
  • Jun 10 12:18
    scala-steward commented #510
  • Jun 10 12:18
    scala-steward opened #512
  • Jun 08 16:26
    scala-steward closed #474
  • Jun 08 16:26
    scala-steward commented #474
  • Jun 08 16:26
    scala-steward opened #511
  • Jun 03 12:15
    scala-steward closed #501
  • Jun 03 12:15
    scala-steward commented #501
  • Jun 03 12:15
    scala-steward opened #510
  • Jun 01 16:53
    scala-steward closed #506
  • Jun 01 16:52
    scala-steward commented #506
  • Jun 01 16:52
    scala-steward opened #509
  • May 28 08:54
    scala-steward closed #455
  • May 28 08:54
    scala-steward commented #455
Zak Patterson
@zakpatterson
Hi @guersam thanks for joining, just curious if you've tried this project out and what your impression is.
Jisoo Park
@guersam
Hi @zakpatterson, I haven't tried it yet but am interested in real world http4s patterns, especially in tsec integration.
Zak Patterson
@zakpatterson
Sounds good @guersam, I am still considering how to add other tsec integrations to it and how to do it in a manner that brings along its own db schema and default http4s routes. So far only bearer tokens are implemented. What kinds of tsec uses would you like to see?
Jisoo Park
@guersam
I'm interested in multiple authentication schemes such as basic, bearer and JWT/JWE and role-based access control. Also looking for a better way to modularize tsec http module to endpoints/tapir integration.
related discussion: softwaremill/tapir#46
Jisoo Park
@guersam
just out of curiosity, could you tell me about your experience with per-module db migration such as https://github.com/clovellytech/http4s-modules/blob/master/features/src/main/resources/db/ct_feature_requests/migration/V20180131175602__initial_schema.sql ?
I've been maintaining migrations only per project so far
Zak Patterson
@zakpatterson
thanks for this i didn’t know about tapir before. I’ll look into that soon. I’ve only implemented bearer tokens in the /auth module so far. I’m looking for a way to implement more schemes in a functional way and would definitely love any input on that.
regarding migrations it works pretty well. I’m keeping tables for each module in different postgres namespaces so there won’t be collisions
that means there’s an implicit dependency between modules that needs to be worked out by the user. i haven’t come up with a way to make that less error prone.
just meaning that feature-requests relies on auth to be migrated.
for example.
i’m in utc-4 time zone so it’s late here so i can provide some more examples about the migrations tomorrow.
Jisoo Park
@guersam
Thanks for the explanation, have a good night :) (I'm in UTC+0900)
Zak Patterson
@zakpatterson
:+1:
Zak Patterson
@zakpatterson
Hi @guersam , based on your feedback I created two issues: #64 to address the auth strategies, and #65 to make module migration easier.
Jisoo Park
@guersam
Great, looking forward to the both :) thanks!