Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 17:25
    scala-steward closed #421
  • 17:25
    scala-steward commented #421
  • 17:25
    scala-steward opened #432
  • Jan 21 17:18
    scala-steward closed #424
  • Jan 21 17:18
    scala-steward commented #424
  • Jan 21 17:18
    scala-steward opened #431
  • Jan 19 15:24
    scala-steward closed #427
  • Jan 19 15:24
    scala-steward commented #427
  • Jan 19 15:24
    scala-steward opened #430
  • Jan 19 11:20
    scala-steward closed #428
  • Jan 19 11:20
    scala-steward commented #428
  • Jan 19 11:20
    scala-steward opened #429
  • Jan 18 19:33
    scala-steward opened #428
  • Jan 18 17:20
    scala-steward opened #427
  • Jan 16 09:25
    scala-steward closed #406
  • Jan 16 09:25
    scala-steward commented #406
  • Jan 16 09:25
    scala-steward opened #426
  • Jan 11 23:25
    scala-steward opened #425
  • Jan 11 15:13
    scala-steward closed #422
  • Jan 11 15:13
    scala-steward commented #422
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!