Skip to content

Commit

Permalink
Add channelId and device to SSOChallenge
Browse files Browse the repository at this point in the history
  • Loading branch information
avatus committed Oct 23, 2024
1 parent fae8ea8 commit baa1545
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions web/packages/teleport/src/services/auth/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import { AuthProviderType } from 'shared/services';

import { EventMeta } from 'teleport/services/userEvent';

import { IsMfaRequiredRequest, MfaChallengeScope } from './auth';
Expand All @@ -33,8 +35,14 @@ export type AuthnChallengeRequest = {
};

export type SSOChallenge = {
channelId: string;
redirectUrl: string;
requestId: string;
device: {
connectorId: string;
connectorType: AuthProviderType;
displayName: string;
};
};

export type MfaAuthenticateChallenge = {
Expand Down

0 comments on commit baa1545

Please sign in to comment.