mirror of
https://github.com/bitwarden/server
synced 2025-12-29 22:54:00 +00:00
move identityserver libs into core
This commit is contained in:
13
src/Core/IdentityServer/AllowAllCorsPolicyService.cs
Normal file
13
src/Core/IdentityServer/AllowAllCorsPolicyService.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using IdentityServer4.Services;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Bit.Core.IdentityServer
|
||||
{
|
||||
public class AllowAllCorsPolicyService : ICorsPolicyService
|
||||
{
|
||||
public Task<bool> IsOriginAllowedAsync(string origin)
|
||||
{
|
||||
return Task.FromResult(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user