Skip to content

OIDC middleware #1924

Description

@simongottschlag

Hi!

I'm working on a library that exposes an OAuth2 authorization server / OpenID Provider meant for tests. While working on it, I created an initial middleware (roughly based on JWT) to work with OIDC.

You can see the initial middleware here: https://github.com/XenitAB/pkg/blob/main/echo-v4-middleware/oidc/oidc.go

I still have some work left as well as adding tests, but you can see how it's used here: https://github.com/XenitAB/dispans/blob/main/example/main_test.go#L33-L62

Would this be something you would like to be contributed directly to the echo project? I'd be willing to do a PR and help out with future issues around it (best effort).

Best regards,
Simon

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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