Skip to content

Plugin Not Generating Authentication Boilerplate #782

@hunoz

Description

@hunoz

I am using the java-server-codegen plugin to generate and run a Smithy server. My service is annotated with @httpBearerAuth and @auth([httpBearerAuth]), but the generated code does not have any classes to implement authentication directly into the service itself.

This limitation leads to developers needing to implement auth into each operation rather than a single middleware for the whole service.

Is there a place on the roadmap to support authentication such as httpBearerAuth and optionalAuth?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions