by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 14 20:28

    zakpatterson on gh-pages

    Deploy clovellytech/http4s-modu… (compare)

  • Aug 14 20:23
    mergify[bot] labeled #341
  • Aug 14 20:23

    mergify[bot] on main

    Update postgresql to 42.2.15 (#… (compare)

  • Aug 14 20:23
    mergify[bot] closed #341
  • Aug 14 20:13
    scala-steward opened #341
  • Aug 13 12:44

    zakpatterson on gh-pages

    Deploy clovellytech/http4s-modu… (compare)

  • Aug 13 12:38
    mergify[bot] labeled #340
  • Aug 13 12:38

    mergify[bot] on main

    Update sbt-mdoc to 2.2.5 (#340) (compare)

  • Aug 13 12:38
    mergify[bot] closed #340
  • Aug 13 12:27
    scala-steward opened #340
  • Aug 12 11:03

    zakpatterson on gh-pages

    Deploy clovellytech/http4s-modu… (compare)

  • Aug 12 10:57
    mergify[bot] labeled #339
  • Aug 12 10:57

    mergify[bot] on main

    Update flyway-core to 6.5.4 (#3… (compare)

  • Aug 12 10:57
    mergify[bot] closed #339
  • Aug 12 10:47
    scala-steward opened #339
  • Aug 09 06:45

    zakpatterson on gh-pages

    Deploy clovellytech/http4s-modu… (compare)

  • Aug 09 06:40
    mergify[bot] labeled #338
  • Aug 09 06:40

    mergify[bot] on main

    Update http4s-blaze-client, ...… (compare)

  • Aug 09 06:40
    mergify[bot] closed #338
  • Aug 09 06:31
    scala-steward opened #338
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!