Skip to content

Conversation

@eric-richardson1
Copy link
Collaborator

Addresses #702

Adds this popup to the connection tab:
Screenshot 2025-11-21 at 2 55 07 PM

Then, authenticates the user via mutual TLS.

Copy link
Collaborator

@tbantle22 tbantle22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, a few comments here and UI feedback in discord

Comment on lines +29 to +33
certificateAuthority?: string;

clientCert?: string;

clientKey?: string;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this would be better as one type like mtlsAuth?: MutualTlsAuth and then each of these fields in MutualTlsAuth should be required

Comment on lines +30 to +37
@Field({ nullable: true })
certificateAuthority?: string;

@Field({ nullable: true })
clientCert?: string;

@Field({ nullable: true })
clientKey?: string;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here and in database.resolver.ts

import { SetApolloErrorType } from "@lib/errors/types";
import { Dispatch, SyntheticEvent } from "react";

export type AuthType = "none" | "ssl" | "mtls";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to use an enum here so you don't have to type cast the string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants