Skip to content

Commit 6b9b0b1

Browse files
authored
Add Contentful provider (#1063)
Add Contentful provider.
1 parent 9760006 commit 6b9b0b1

File tree

10 files changed

+315
-2
lines changed

10 files changed

+315
-2
lines changed

AspNet.Security.OAuth.Providers.sln

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AspNet.Security.OAuth.Miro"
327327
EndProject
328328
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AspNet.Security.OAuth.Linear", "src\AspNet.Security.OAuth.Linear\AspNet.Security.OAuth.Linear.csproj", "{B1167108-CA36-4C6B-85B0-1C7F5A24E4A4}"
329329
EndProject
330+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AspNet.Security.OAuth.Contentful", "src\AspNet.Security.OAuth.Contentful\AspNet.Security.OAuth.Contentful.csproj", "{B1F6EA42-7B1B-469E-B304-6B2E6FE39852}"
331+
EndProject
330332
Global
331333
GlobalSection(SolutionConfigurationPlatforms) = preSolution
332334
Debug|Any CPU = Debug|Any CPU
@@ -761,6 +763,10 @@ Global
761763
{B1167108-CA36-4C6B-85B0-1C7F5A24E4A4}.Debug|Any CPU.Build.0 = Debug|Any CPU
762764
{B1167108-CA36-4C6B-85B0-1C7F5A24E4A4}.Release|Any CPU.ActiveCfg = Release|Any CPU
763765
{B1167108-CA36-4C6B-85B0-1C7F5A24E4A4}.Release|Any CPU.Build.0 = Release|Any CPU
766+
{B1F6EA42-7B1B-469E-B304-6B2E6FE39852}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
767+
{B1F6EA42-7B1B-469E-B304-6B2E6FE39852}.Debug|Any CPU.Build.0 = Debug|Any CPU
768+
{B1F6EA42-7B1B-469E-B304-6B2E6FE39852}.Release|Any CPU.ActiveCfg = Release|Any CPU
769+
{B1F6EA42-7B1B-469E-B304-6B2E6FE39852}.Release|Any CPU.Build.0 = Release|Any CPU
764770
EndGlobalSection
765771
GlobalSection(SolutionProperties) = preSolution
766772
HideSolutionNode = FALSE
@@ -879,6 +885,7 @@ Global
879885
{F5DA8A08-5089-4076-B0FC-3F4A5CBB9664} = {C1352FD3-AE8B-43EE-B45B-F6E0B3FBAC6D}
880886
{7F22DE22-FDE8-4A14-AA65-D5B36098533E} = {C1352FD3-AE8B-43EE-B45B-F6E0B3FBAC6D}
881887
{B1167108-CA36-4C6B-85B0-1C7F5A24E4A4} = {C1352FD3-AE8B-43EE-B45B-F6E0B3FBAC6D}
888+
{B1F6EA42-7B1B-469E-B304-6B2E6FE39852} = {C1352FD3-AE8B-43EE-B45B-F6E0B3FBAC6D}
882889
EndGlobalSection
883890
GlobalSection(ExtensibilityGlobals) = postSolution
884891
SolutionGuid = {C7B54DE2-6407-4802-AD9C-CE54BF414C8C}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ If a provider you're looking for does not exist, consider making a PR to add one
172172
| Calendly | [![NuGet](https://img.shields.io/nuget/v/AspNet.Security.OAuth.Calendly?logo=nuget&label=NuGet&color=blue)](https://www.nuget.org/packages/AspNet.Security.OAuth.Calendly/ "Download AspNet.Security.OAuth.Calendly from NuGet.org") | [![MyGet](https://img.shields.io/myget/aspnet-contrib/vpre/AspNet.Security.OAuth.Calendly?logo=nuget&label=MyGet&color=blue)](https://www.myget.org/feed/aspnet-contrib/package/nuget/AspNet.Security.OAuth.Calendly "Download AspNet.Security.OAuth.Calendly from MyGet.org") | [Documentation](https://developer.calendly.com/api-docs/3cefb59b832eb-calendly-o-auth-2-0 "Calendly developer documentation") |
173173
| CiscoSpark (Webex Teams) | [![NuGet](https://img.shields.io/nuget/v/AspNet.Security.OAuth.CiscoSpark?logo=nuget&label=NuGet&color=blue)](https://www.nuget.org/packages/AspNet.Security.OAuth.CiscoSpark/ "Download AspNet.Security.OAuth.CiscoSpark from NuGet.org") | [![MyGet](https://img.shields.io/myget/aspnet-contrib/vpre/AspNet.Security.OAuth.CiscoSpark?logo=nuget&label=MyGet&color=blue)](https://www.myget.org/feed/aspnet-contrib/package/nuget/AspNet.Security.OAuth.CiscoSpark "Download AspNet.Security.OAuth.CiscoSpark from MyGet.org") | [Documentation](https://developer.webex.com/docs/api/getting-started/accounts-and-authentication "Webex Teams developer documentation") |
174174
| Coinbase | [![NuGet](https://img.shields.io/nuget/v/AspNet.Security.OAuth.Coinbase?logo=nuget&label=NuGet&color=blue)](https://www.nuget.org/packages/AspNet.Security.OAuth.Coinbase/ "Download AspNet.Security.OAuth.Coinbase from NuGet.org") | [![MyGet](https://img.shields.io/myget/aspnet-contrib/vpre/AspNet.Security.OAuth.Coinbase?logo=nuget&label=MyGet&color=blue)](https://www.myget.org/feed/aspnet-contrib/package/nuget/AspNet.Security.OAuth.Coinbase "Download AspNet.Security.OAuth.Coinbase from MyGet.org") | [Documentation](https://developers.coinbase.com/docs/wallet/coinbase-connect/integrating "Coinbase developer documentation") |
175+
| Contentful | [![NuGet](https://img.shields.io/nuget/v/AspNet.Security.OAuth.Contentful?logo=nuget&label=NuGet&color=blue)](https://www.nuget.org/packages/AspNet.Security.OAuth.Contentful/ "Download AspNet.Security.OAuth.Contentful from NuGet.org") | [![MyGet](https://img.shields.io/myget/aspnet-contrib/vpre/AspNet.Security.OAuth.Contentful?logo=nuget&label=MyGet&color=blue)](https://www.myget.org/feed/aspnet-contrib/package/nuget/AspNet.Security.OAuth.Contentful "Download AspNet.Security.OAuth.Contentful from MyGet.org") | [Documentation](https://www.contentful.com/developers/docs/extensibility/oauth/ "Contentful developer documentation") |
175176
| DeviantArt | [![NuGet](https://img.shields.io/nuget/v/AspNet.Security.OAuth.DeviantArt?logo=nuget&label=NuGet&color=blue)](https://www.nuget.org/packages/AspNet.Security.OAuth.DeviantArt/ "Download AspNet.Security.OAuth.DeviantArt from NuGet.org") | [![MyGet](https://img.shields.io/myget/aspnet-contrib/vpre/AspNet.Security.OAuth.DeviantArt?logo=nuget&label=MyGet&color=blue)](https://www.myget.org/feed/aspnet-contrib/package/nuget/AspNet.Security.OAuth.DeviantArt "Download AspNet.Security.OAuth.DeviantArt from MyGet.org") | [Documentation](https://www.deviantart.com/developers/ "DeviantArt developer documentation") |
176177
| Deezer | [![NuGet](https://img.shields.io/nuget/v/AspNet.Security.OAuth.Deezer?logo=nuget&label=NuGet&color=blue)](https://www.nuget.org/packages/AspNet.Security.OAuth.Deezer/ "Download AspNet.Security.OAuth.Deezer from NuGet.org") | [![MyGet](https://img.shields.io/myget/aspnet-contrib/vpre/AspNet.Security.OAuth.Deezer?logo=nuget&label=MyGet&color=blue)](https://www.myget.org/feed/aspnet-contrib/package/nuget/AspNet.Security.OAuth.Deezer "Download AspNet.Security.OAuth.Deezer from MyGet.org") | [Documentation](https://developers.deezer.com/api/oauth "Deezer developer documentation") |
177178
| DigitalOcean | [![NuGet](https://img.shields.io/nuget/v/AspNet.Security.OAuth.DigitalOcean?logo=nuget&label=NuGet&color=blue)](https://www.nuget.org/packages/AspNet.Security.OAuth.DigitalOcean/ "Download AspNet.Security.OAuth.DigitalOcean from NuGet.org") | [![MyGet](https://img.shields.io/myget/aspnet-contrib/vpre/AspNet.Security.OAuth.DigitalOcean?logo=nuget&label=MyGet&color=blue)](https://www.myget.org/feed/aspnet-contrib/package/nuget/AspNet.Security.OAuth.DigitalOcean "Download AspNet.Security.OAuth.DigitalOcean from MyGet.org") | [Documentation](https://docs.digitalocean.com/reference/api/oauth-api/ "DigitalOcean developer documentation") |

eng/Versions.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
<PropertyGroup>
44
<MajorVersion>9</MajorVersion>
5-
<MinorVersion>2</MinorVersion>
6-
<PatchVersion>1</PatchVersion>
5+
<MinorVersion>3</MinorVersion>
6+
<PatchVersion>0</PatchVersion>
77
<VersionPrefix>$(MajorVersion).$(MinorVersion).$(PatchVersion)</VersionPrefix>
88
<PackageValidationBaselineVersion Condition=" '$(EnablePackageValidation)' == 'true' AND '$(PackageValidationBaselineVersion)' == '' ">9.0.0</PackageValidationBaselineVersion>
99
<PreReleaseVersionLabel>preview</PreReleaseVersionLabel>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
5+
</PropertyGroup>
6+
7+
<PropertyGroup>
8+
<Description>ASP.NET Core security middleware enabling Contentful authentication.</Description>
9+
<Authors>Jerrie Pelser</Authors>
10+
<PackageTags>contentful;aspnetcore;authentication;oauth;security</PackageTags>
11+
</PropertyGroup>
12+
13+
<ItemGroup>
14+
<FrameworkReference Include="Microsoft.AspNetCore.App" />
15+
<PackageReference Include="JetBrains.Annotations" PrivateAssets="All" />
16+
</ItemGroup>
17+
18+
</Project>
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
3+
* See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers
4+
* for more information concerning the license and the contributors participating to this project.
5+
*/
6+
7+
namespace AspNet.Security.OAuth.Contentful;
8+
9+
/// <summary>
10+
/// Default values used by the Contentful authentication middleware.
11+
/// </summary>
12+
public static class ContentfulAuthenticationDefaults
13+
{
14+
/// <summary>
15+
/// Default value for the <see cref="AuthenticationScheme.Name"/>.
16+
/// </summary>
17+
public const string AuthenticationScheme = "Contentful";
18+
19+
/// <summary>
20+
/// Default value for the <see cref="AuthenticationScheme.DisplayName"/>.
21+
/// </summary>
22+
public static readonly string DisplayName = "Contentful";
23+
24+
/// <summary>
25+
/// Default value for the <see cref="AuthenticationSchemeOptions.ClaimsIssuer"/>.
26+
/// </summary>
27+
public static readonly string Issuer = "Contentful";
28+
29+
/// <summary>
30+
/// Default value for the <see cref="RemoteAuthenticationOptions.CallbackPath"/>.
31+
/// </summary>
32+
public static readonly string CallbackPath = "/signin-contentful";
33+
34+
/// <summary>
35+
/// Default value for the <see cref="OAuthOptions.AuthorizationEndpoint"/>.
36+
/// </summary>
37+
public static readonly string AuthorizationEndpoint = "https://be.contentful.com/oauth/authorize";
38+
39+
/// <summary>
40+
/// Default value for the <see cref="OAuthOptions.TokenEndpoint"/>.
41+
/// </summary>
42+
public static readonly string TokenEndpointFormat = "https://be.contentful.com/oauth/token";
43+
44+
/// <summary>
45+
/// Default value for <see cref="OAuthOptions.UserInformationEndpoint"/>.
46+
/// </summary>
47+
public static readonly string UserInformationEndpoint = "https://api.contentful.com/users/me";
48+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
3+
* See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers
4+
* for more information concerning the license and the contributors participating to this project.
5+
*/
6+
7+
using AspNet.Security.OAuth.Contentful;
8+
9+
namespace Microsoft.Extensions.DependencyInjection;
10+
11+
public static class ContentfulAuthenticationExtensions
12+
{
13+
/// <summary>
14+
/// Adds <see cref="ContentfulAuthenticationHandler"/> to the specified
15+
/// <see cref="AuthenticationBuilder"/>, which enables Contentful authentication capabilities.
16+
/// </summary>
17+
/// <param name="builder">The authentication builder.</param>
18+
/// <returns>A reference to this instance after the operation has completed.</returns>
19+
public static AuthenticationBuilder AddContentful([NotNull] this AuthenticationBuilder builder)
20+
{
21+
return builder.AddContentful(ContentfulAuthenticationDefaults.AuthenticationScheme, options => { });
22+
}
23+
24+
/// <summary>
25+
/// Adds <see cref="ContentfulAuthenticationHandler"/> to the specified
26+
/// <see cref="AuthenticationBuilder"/>, which enables Contentful authentication capabilities.
27+
/// </summary>
28+
/// <param name="builder">The authentication builder.</param>
29+
/// <param name="configuration">The delegate used to configure the Contentful options.</param>
30+
/// <returns>A reference to this instance after the operation has completed.</returns>
31+
public static AuthenticationBuilder AddContentful(
32+
[NotNull] this AuthenticationBuilder builder,
33+
[NotNull] Action<ContentfulAuthenticationOptions> configuration)
34+
{
35+
return builder.AddContentful(ContentfulAuthenticationDefaults.AuthenticationScheme, configuration);
36+
}
37+
38+
/// <summary>
39+
/// Adds <see cref="ContentfulAuthenticationHandler"/> to the specified
40+
/// <see cref="AuthenticationBuilder"/>, which enables Contentful authentication capabilities.
41+
/// </summary>
42+
/// <param name="builder">The authentication builder.</param>
43+
/// <param name="scheme">The authentication scheme associated with this instance.</param>
44+
/// <param name="configuration">The delegate used to configure the Contentful options.</param>
45+
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
46+
public static AuthenticationBuilder AddContentful(
47+
[NotNull] this AuthenticationBuilder builder,
48+
[NotNull] string scheme,
49+
[NotNull] Action<ContentfulAuthenticationOptions> configuration)
50+
{
51+
return builder.AddContentful(scheme, ContentfulAuthenticationDefaults.DisplayName, configuration);
52+
}
53+
54+
/// <summary>
55+
/// Adds <see cref="ContentfulAuthenticationHandler"/> to the specified
56+
/// <see cref="AuthenticationBuilder"/>, which enables Contentful authentication capabilities.
57+
/// </summary>
58+
/// <param name="builder">The authentication builder.</param>
59+
/// <param name="scheme">The authentication scheme associated with this instance.</param>
60+
/// <param name="caption">The optional display name associated with this instance.</param>
61+
/// <param name="configuration">The delegate used to configure the Contentful options.</param>
62+
/// <returns>The <see cref="AuthenticationBuilder"/>.</returns>
63+
public static AuthenticationBuilder AddContentful(
64+
[NotNull] this AuthenticationBuilder builder,
65+
[NotNull] string scheme,
66+
[NotNull] string caption,
67+
[NotNull] Action<ContentfulAuthenticationOptions> configuration)
68+
{
69+
return builder.AddOAuth<ContentfulAuthenticationOptions, ContentfulAuthenticationHandler>(scheme, caption, configuration);
70+
}
71+
}
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
3+
* See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers
4+
* for more information concerning the license and the contributors participating to this project.
5+
*/
6+
7+
using System.Net.Http.Headers;
8+
using System.Security.Claims;
9+
using System.Text.Encodings.Web;
10+
using System.Text.Json;
11+
using Microsoft.Extensions.Logging;
12+
using Microsoft.Extensions.Options;
13+
14+
namespace AspNet.Security.OAuth.Contentful;
15+
16+
public partial class ContentfulAuthenticationHandler(
17+
[NotNull] IOptionsMonitor<ContentfulAuthenticationOptions> options,
18+
[NotNull] ILoggerFactory logger,
19+
[NotNull] UrlEncoder encoder) : OAuthHandler<ContentfulAuthenticationOptions>(options, logger, encoder)
20+
{
21+
protected override async Task<AuthenticationTicket> CreateTicketAsync(
22+
[NotNull] ClaimsIdentity identity,
23+
[NotNull] AuthenticationProperties properties,
24+
[NotNull] OAuthTokenResponse tokens)
25+
{
26+
using var request = new HttpRequestMessage(HttpMethod.Get, Options.UserInformationEndpoint);
27+
request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
28+
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", tokens.AccessToken);
29+
30+
using var response = await Backchannel.SendAsync(request, HttpCompletionOption.ResponseHeadersRead, Context.RequestAborted);
31+
if (!response.IsSuccessStatusCode)
32+
{
33+
await Log.UserProfileErrorAsync(Logger, response, Context.RequestAborted);
34+
throw new HttpRequestException("An error occurred while retrieving the user profile from Contentful.");
35+
}
36+
37+
using var payload = JsonDocument.Parse(await response.Content.ReadAsStringAsync(Context.RequestAborted));
38+
39+
var principal = new ClaimsPrincipal(identity);
40+
var context = new OAuthCreatingTicketContext(
41+
principal,
42+
properties,
43+
Context,
44+
Scheme,
45+
Options,
46+
Backchannel,
47+
tokens,
48+
payload.RootElement);
49+
context.RunClaimActions();
50+
51+
await Events.CreatingTicket(context);
52+
return new AuthenticationTicket(context.Principal!, context.Properties, Scheme.Name);
53+
}
54+
55+
private static partial class Log
56+
{
57+
internal static async Task UserProfileErrorAsync(ILogger logger, HttpResponseMessage response, CancellationToken cancellationToken)
58+
{
59+
UserProfileError(
60+
logger,
61+
response.StatusCode,
62+
response.Headers.ToString(),
63+
await response.Content.ReadAsStringAsync(cancellationToken));
64+
}
65+
66+
[LoggerMessage(1,
67+
LogLevel.Error,
68+
"An error occurred while retrieving the user profile: the remote server returned a {Status} response with the following payload: {Headers} {Body}.")]
69+
private static partial void UserProfileError(
70+
ILogger logger,
71+
System.Net.HttpStatusCode status,
72+
string headers,
73+
string body);
74+
}
75+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
3+
* See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers
4+
* for more information concerning the license and the contributors participating to this project.
5+
*/
6+
7+
using System.Security.Claims;
8+
9+
namespace AspNet.Security.OAuth.Contentful;
10+
11+
/// <summary>
12+
/// Defines a set of options used by <see cref="ContentfulAuthenticationHandler"/>.
13+
/// </summary>
14+
public class ContentfulAuthenticationOptions : OAuthOptions
15+
{
16+
public ContentfulAuthenticationOptions()
17+
{
18+
ClaimsIssuer = ContentfulAuthenticationDefaults.Issuer;
19+
CallbackPath = ContentfulAuthenticationDefaults.CallbackPath;
20+
21+
AuthorizationEndpoint = ContentfulAuthenticationDefaults.AuthorizationEndpoint;
22+
TokenEndpoint = ContentfulAuthenticationDefaults.TokenEndpointFormat;
23+
UserInformationEndpoint = ContentfulAuthenticationDefaults.UserInformationEndpoint;
24+
25+
ClaimActions.MapJsonSubKey(ClaimTypes.NameIdentifier, "sys", "id");
26+
ClaimActions.MapJsonKey(ClaimTypes.Email, "email");
27+
ClaimActions.MapJsonKey(ClaimTypes.GivenName, "firstName");
28+
ClaimActions.MapJsonKey(ClaimTypes.Surname, "lastName");
29+
}
30+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
3+
* See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers
4+
* for more information concerning the license and the contributors participating to this project.
5+
*/
6+
7+
namespace AspNet.Security.OAuth.Contentful;
8+
9+
public class ContentfulTests(ITestOutputHelper outputHelper) : OAuthTests<ContentfulAuthenticationOptions>(outputHelper)
10+
{
11+
public override string DefaultScheme => ContentfulAuthenticationDefaults.AuthenticationScheme;
12+
13+
protected internal override void RegisterAuthentication(AuthenticationBuilder builder)
14+
{
15+
builder.AddContentful(options => ConfigureDefaults(builder, options));
16+
}
17+
18+
[Theory]
19+
[InlineData(ClaimTypes.NameIdentifier, "user-id")]
20+
[InlineData(ClaimTypes.Email, "[email protected]")]
21+
[InlineData(ClaimTypes.GivenName, "Some")]
22+
[InlineData(ClaimTypes.Surname, "One")]
23+
public async Task Can_Sign_In_Using_Contentful(string claimType, string claimValue)
24+
=> await AuthenticateUserAndAssertClaimValue(claimType, claimValue);
25+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/justeat/httpclient-interception/master/src/HttpClientInterception/Bundles/http-request-bundle-schema.json",
3+
"items": [
4+
{
5+
"uri": "https://be.contentful.com/oauth/token",
6+
"method": "POST",
7+
"contentFormat": "json",
8+
"contentJson": {
9+
"access_token": "secret-access-token",
10+
"token_type": "Bearer",
11+
"refresh_token": "secret-refresh-token",
12+
"scope": "content_management_read"
13+
}
14+
},
15+
{
16+
"uri": "https://api.contentful.com/users/me",
17+
"contentFormat": "json",
18+
"contentJson": {
19+
"firstName": "Some",
20+
"lastName": "One",
21+
"avatarUrl": "https://gravatar.com/avatar/27205e5c51cb03f862138b22bcb5dc20f94a342e744ff6df1b8dc8af3c865109",
22+
"email": "[email protected]",
23+
"signupSource": null,
24+
"activated": true,
25+
"signInCount": 475,
26+
"confirmed": true,
27+
"2faEnabled": false,
28+
"sys": {
29+
"type": "User",
30+
"id": "user-id",
31+
"version": 490,
32+
"createdAt": "2018-08-15T04:08:47Z",
33+
"updatedAt": "2025-05-01T03:09:46Z"
34+
}
35+
}
36+
}
37+
]
38+
}

0 commit comments

Comments
 (0)