Errors
The following pages contain the tag "Errors":
GCN-A-1701a00d8c56 GCN-A-1701a00d8c56: Unable to start GoCloudNative.Bff. Invalid Auth0 Domain. Configure the domain in the appsettings.json or program.cs file and try again. The GoCloudNative BFF is an authentication gateway. As a result, you must configure an identity provider (correctly) for it to start. To bootstrap the BFF, load the identity provider configuration from the appsettings.json: //... var builder = WebApplication.CreateBuilder(args); var config = builder.Configuration.GetSection("Auth0"); builder.Services.AddSecurityBff(o => { o.ConfigureAuth0(config); //... }); How to reproduce this error To reproduce the error, the Domain needs to be missing:
Read article >>GCN-A-fe95cf8c11ae GCN-A-fe95cf8c11ae: Unable to start GoCloudNative.Bff. Invalid audience. Configure the audience in the appsettings.json or program.cs file and try again. The GoCloudNative BFF is an authentication gateway. As a result, you must configure an identity provider (correctly) for it to start. To bootstrap the BFF, load the identity provider configuration from the appsettings.json: //... var builder = WebApplication.CreateBuilder(args); var config = builder.Configuration.GetSection("Auth0"); builder.Services.AddSecurityBff(o => { o.ConfigureAuth0(config); //... }); In order to get an access token with a payload, you need to provide a value for audience.
Read article >>GCN-AZ-427413a281d9 GCN-AZ-427413a281d9: Unable to start GoCloudNative.Bff. Invalid client_secret. Configure the client_secret in the appsettings.json or program.cs file and try again. The GoCloudNative BFF is an authentication gateway. As a result, you must configure an identity provider (correctly) for it to start. To bootstrap the BFF, load the identity provider configuration from the appsettings.json: //... var builder = WebApplication.CreateBuilder(args); var config = builder.Configuration.GetSection("Azure"); builder.Services.AddSecurityBff(o => { o.ConfigureAzureAd(config); //... }); How to reproduce this error To reproduce the error, the ClientSecret needs to be missing:
Read article >>GCN-AZ-42d458c58299 GCN-AZ-42d458c58299: Unable to start GoCloudNative.Bff. Invalid TenantId. Configure the TenantId in the appsettings.json or program.cs file and try again. The GoCloudNative BFF is an authentication gateway. As a result, you must configure an identity provider (correctly) for it to start. To bootstrap the BFF, load the identity provider configuration from the appsettings.json: //... var builder = WebApplication.CreateBuilder(args); var config = builder.Configuration.GetSection("Azure"); builder.Services.AddSecurityBff(o => { o.ConfigureAzureAd(config); //... }); How to reproduce this error To reproduce the error, the ClientId needs to be missing:
Read article >>GCN-AZ-e9ba6693bb0e GCN-AZ-e9ba6693bb0e: Unable to start GoCloudNative.Bff. Invalid client_id. Configure the client_id in the appsettings.json or program.cs file and try again. The GoCloudNative BFF is an authentication gateway. As a result, you must configure an identity provider (correctly) for it to start. To bootstrap the BFF, load the identity provider configuration from the appsettings.json: //... var builder = WebApplication.CreateBuilder(args); var config = builder.Configuration.GetSection("Azure"); builder.Services.AddSecurityBff(o => { o.ConfigureAzureAd(config); //... }); How to reproduce this error To reproduce the error, the ClientId needs to be missing:
Read article >>GCN-B-66b217e55cd6 GCN-G-66b217e55cd6: Failed to start GoCloudNative.BFF. Registering multiple identity providers of the same type is not supported. The GoCloudNative.Authentication.BFF was designed with extensibility in mind. We offer standard implementations for common identity providers. But we also want to allow integration with other identity providers. Integrating with identity providers is done by implementing the IIdentityProvider interface and registring it like so: var builder = WebApplication.CreateBuilder(args); var config = builder.Configuration .GetSection("Oidc") .Get<OpenIdConnectConfig>(); builder.
Read article >>GCN-B-7072e626c679 GCN-B-7072e626c679: Failed to start GoCloudNative.BFF. Registering the same options type is not supported. GCN-B-66b217e55cd6 GCN-G-66b217e55cd6: Failed to start GoCloudNative.BFF. Registering multiple identity providers of the same type is not supported. The GoCloudNative.Authentication.BFF is built with extensibility in mind. We offer standard implementations for common identity providers. But we also want to allow integration with other identity providers. Integrating with identityproviders is done by implementing the IIdentityProvider interface and registring it.
Read article >>GCN-B-f204c0800192 GCN-G-f204c0800192: Failed to start GoCloudNative.BFF. Registering multiple TIdentityProvider types on the same endpoint is not supported. Remove one of the IdentityProviderConfigurations or configure another endpointName. It is possible to configure multiple identity providers with GoCloudNative.BFF. This supports the following use case, for example: Assume you are building a webshop. Customers log in to see the status of the orders via /my-account/login. They log in with Google via Auth0. Back-office employees log in to see what has been ordered so they can prepare the shipment.
Read article >>GCN-O-427413a281d9 GCN-O-427413a281d9: Unable to start GoCloudNative.Bff. Invalid client_secret. Configure the client_secret in the appsettings.json or program.cs file and try again. The GoCloudNative BFF is an authentication gateway. As a result, you must configure an identity provider (correctly) for it to start. To bootstrap the BFF, load the identity provider configuration from the appsettings.json: //... var builder = WebApplication.CreateBuilder(args); var config = builder.Configuration.GetSection("Oidc"); builder.Services.AddSecurityBff(o => { o.ConfigureOpenIdConnect(config); //... }); How to reproduce this error To reproduce the error, the ClientSecret needs to be missing:
Read article >>GCN-O-e0180c31edd7 GCN-O-e0180c31edd7: Unable to start GoCloudNative.Bff. Invalid authority. Configure the authority in the appsettings.json or program.cs file and try again. The GoCloudNative BFF is an authentication gateway. As a result, you must configure an identity provider (correctly) for it to start. To bootstrap the BFF, load the identity provider configuration from the appsettings.json: //... var builder = WebApplication.CreateBuilder(args); var config = builder.Configuration.GetSection("Oidc"); builder.Services.AddSecurityBff(o => { o.ConfigureOpenIdConnect(config); //... }); How to reproduce this error To reproduce the error, the Authority needs to be missing:
Read article >>GCN-O-e9ba6693bb0e GCN-O-e9ba6693bb0e: Unable to start GoCloudNative.Bff. Invalid client_id. Configure the client_id in the appsettings.json or program.cs file and try again. The GoCloudNative BFF is an authentication gateway. As a result, you must configure an identity provider (correctly) for it to start. To bootstrap the BFF, load the identity provider configuration from the appsettings.json: //... var builder = WebApplication.CreateBuilder(args); var config = builder.Configuration.GetSection("Oidc"); builder.Services.AddSecurityBff(o => { o.ConfigureOpenIdConnect(config); //... }); How to reproduce this error To reproduce the error, the ClientId needs to be missing:
Read article >>