Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Oct 2, 2024
1 parent 57a299e commit 249c5d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/app/src/auth/OAuth2Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { JWTPayload, createRemoteJWKSet, decodeJwt, jwtVerify } from "jose";
import { NextApiRequestCookies } from "next/dist/server/api-utils";
import type { NextRequest } from "next/server";
import urlJoin from "url-join";
import { AuthEdgeConfigOAuth2, OAuthTokenResponse, OAuthTokenResponseSchema } from "./types";
import { AuthEdgeConfigOAuth2Ory, OAuthTokenResponse, OAuthTokenResponseSchema } from "./types";

interface TokenInfo {
access_token: string;
Expand All @@ -18,7 +18,7 @@ export class OAuth2Client {
private readonly jwks: string | undefined;

constructor(
config: AuthEdgeConfigOAuth2,
config: AuthEdgeConfigOAuth2Ory,
private readonly redirect_uri?: string,
) {
this.clientId = config.clientId;
Expand Down

0 comments on commit 249c5d0

Please sign in to comment.