1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

Implemented new OIDC redirect behavior (#954)

This commit is contained in:
Chad Scharf
2020-09-29 17:06:17 -04:00
committed by GitHub
parent 8f7389f153
commit 3b8cbe631f
7 changed files with 37 additions and 3 deletions

View File

@ -1,6 +1,7 @@
using System;
using Bit.Core.Enums;
using Bit.Core.Sso;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
namespace Bit.Core.Models.Data
{
@ -17,6 +18,7 @@ namespace Bit.Core.Models.Data
public string ClientId { get; set; }
public string ClientSecret { get; set; }
public string MetadataAddress { get; set; }
public OpenIdConnectRedirectBehavior RedirectBehavior { get; set; } = OpenIdConnectRedirectBehavior.FormPost;
public bool GetClaimsFromUserInfoEndpoint { get; set; }
// SAML2 IDP