Skip to content

Local requests are not allowed by default #152

@mo-esmp

Description

@mo-esmp

Based on documentation, local requests should be allowed on a local environment:

By default, serilog-ui allows access to the log page only for local requests. To give appropriate rights for production use, you need to configure authorization

But it's not working if AddScopedAuthorizeLocalRequestsAuthFilter is not registered.

.AddSerilogUi(options => {
    options.AddScopedAuthorizeLocalRequestsAuthFilter();
   ...
}

Is my assumption correct? If yes, let's update the wiki.

Metadata

Metadata

Assignees

Labels

invalidThis doesn't seem right

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions