Skip to content

Setup Dapr OAuth 2.0 with identityserver #26

@thangchung

Description

@thangchung

Right now, we don't authentication the between Dapr sidecar and the application itself

Look at it:

// Dapr pubsub
app.MapPost("/CustomerCreated", (CustomerCreatedIntegrationEvent @event) =>
{
    Console.WriteLine($"I received the message with name={@event.GetType().FullName}");
    return Ok("Subscribed");
}).WithTopic("pubsub", "CustomerCreatedIntegrationEvent");

// Dapr cron job binding
app.MapPost("/ProductOutboxCron", async (ITxOutboxProcessor outboxProcessor) =>
    await outboxProcessor.HandleAsync(typeof(CoolStore.IntegrationEvents.Anchor)));

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions