mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 13:35:07 +00:00
revert client back
This commit is contained in:
@@ -22,7 +22,10 @@ const SESSION_LIFETIME_S = 3000;
|
||||
|
||||
const transport = createServerTransport(
|
||||
process.env.ZITADEL_SERVICE_USER_TOKEN!,
|
||||
{ baseUrl: process.env.ZITADEL_API_URL! },
|
||||
{
|
||||
baseUrl: process.env.ZITADEL_API_URL!,
|
||||
httpVersion: "2",
|
||||
},
|
||||
);
|
||||
|
||||
export const sessionService = createSessionServiceClient(transport);
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { NewAuthorizationBearerInterceptor } from "@zitadel/client2";
|
||||
// import {
|
||||
// createGrpcWebTransport,
|
||||
// GrpcWebTransportOptions,
|
||||
// } from "@connectrpc/connect-node";
|
||||
import { createGrpcWebTransport, GrpcWebTransportOptions } from "@connectrpc/connect-web";
|
||||
import {
|
||||
createGrpcWebTransport,
|
||||
GrpcWebTransportOptions,
|
||||
} from "@connectrpc/connect-node";
|
||||
// import { createGrpcWebTransport, GrpcWebTransportOptions } from "@connectrpc/connect-web";
|
||||
import { importPKCS8, SignJWT } from "jose";
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user