mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-13 10:17:33 +00:00
imports
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
import { authorizeOrDenyDeviceAuthorization } from "@/lib/zitadel";
|
import { authorizeOrDenyDeviceAuthorization } from "@/lib/zitadel";
|
||||||
import { headers } from "next/headers";
|
import { headers } from "next/headers";
|
||||||
import { getServiceUrlFromHeaders } from "../service";
|
import { getServiceUrlFromHeaders } from "../service-url";
|
||||||
|
|
||||||
export async function completeDeviceAuthorization(
|
export async function completeDeviceAuthorization(
|
||||||
deviceAuthorizationId: string,
|
deviceAuthorizationId: string,
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
import { getDeviceAuthorizationRequest as zitadelGetDeviceAuthorizationRequest } from "@/lib/zitadel";
|
import { getDeviceAuthorizationRequest as zitadelGetDeviceAuthorizationRequest } from "@/lib/zitadel";
|
||||||
import { headers } from "next/headers";
|
import { headers } from "next/headers";
|
||||||
import { getServiceUrlFromHeaders } from "../service";
|
import { getServiceUrlFromHeaders } from "../service-url";
|
||||||
|
|
||||||
export async function getDeviceAuthorizationRequest(userCode: string) {
|
export async function getDeviceAuthorizationRequest(userCode: string) {
|
||||||
const _headers = await headers();
|
const _headers = await headers();
|
||||||
|
Reference in New Issue
Block a user