back interdiff of round #1 and #0

Implement OAuth #2

closed
opened by futur.blue targeting main

𝒴𝑜𝓊 𝒸𝒶𝓃 𝓃𝑜𝓌 use pdsls

ERROR
.ocamlformat

Failed to calculate interdiff for this file.

ERROR
bin/main.ml

Failed to calculate interdiff for this file.

ERROR
dune

Failed to calculate interdiff for this file.

ERROR
dune-project

Failed to calculate interdiff for this file.

ERROR
ipld/lib/dag_cbor.ml

Failed to calculate interdiff for this file.

ERROR
ipld/test/test_dag_cbor.ml

Failed to calculate interdiff for this file.

ERROR
kleidos/kleidos.ml

Failed to calculate interdiff for this file.

ERROR
mist/lib/mst.ml

Failed to calculate interdiff for this file.

ERROR
mist/test/test_util.ml

Failed to calculate interdiff for this file.

ERROR
pegasus.opam

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/api/account_/login.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/api/account_/logout.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/api/actor/putPreferences.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/api/identity/resolveHandle.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/api/identity/updateHandle.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/api/oauth_/authorize.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/api/oauth_/par.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/api/oauth_/token.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/api/repo/createAccount.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/api/server/createSession.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/api/server/getServiceAuth.ml

Failed to calculate interdiff for this file.

REVERTED
pegasus/lib/api/server/refreshSession.ml
···
in
let%lwt () = Data_store.revoke_token ~did ~jti db in
let%lwt {handle; did; active; status; _} = Auth.get_session_info did db in
+
let access_jwt, refresh_jwt = Jwt.generate_jwt did in
-
let access_jwt, refresh_jwt = Auth.generate_jwt did in
Dream.json @@ Yojson.Safe.to_string
@@ response_to_yojson
{access_jwt; refresh_jwt; handle; did; active; status} )
ERROR
pegasus/lib/api/well_known.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/auth.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/data_store.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/dune

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/env.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/errors.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/id_resolver.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/jwt.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/oauth/client.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/oauth/constants.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/oauth/dpop.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/oauth/queries.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/oauth/types.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/plc.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/repository.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/sequencer.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/templates/components/button.mlx

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/templates/components/input.mlx

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/templates/icons/circle_alert.mlx

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/templates/layout.mlx

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/templates/login.mlx

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/templates/oauth_authorize.mlx

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/user_store.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/util.ml

Failed to calculate interdiff for this file.

ERROR
pegasus/lib/xrpc.ml

Failed to calculate interdiff for this file.

ERROR
public/fonts/Fragment.woff

Failed to calculate interdiff for this file.

ERROR
public/fonts/Fragment.woff2

Failed to calculate interdiff for this file.

ERROR
public/main.css

Failed to calculate interdiff for this file.

ERROR
tailwindcss.opam

Failed to calculate interdiff for this file.

ERROR
tools/tailwindcss/dune

Failed to calculate interdiff for this file.