Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRivers committed Jul 10, 2024
1 parent f246eac commit 1f3be66
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,11 @@ export const generateAuthUrl = (
type: IssuerRouteTypes = IssuerRouteTypes.login,
options: LoginOptions,
): URL => {
console.log("generateAuthUrl", options);

const authUrl = new URL(`${domain}/oauth2/auth`);

const searchParams: Record<string, string> = {
redirect_uri: sanitizeRedirect(options.callbackURL),
client_id: options.clientID,
client_id: options.clientId,
response_type: options.responseType || "code",
scope: options.scope.join(" "),
state: options.state,
Expand Down

0 comments on commit 1f3be66

Please sign in to comment.