Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-2450

OpenID Connect Client Filter Reactive - migration concern - @OidcClientRequestFilter annotation

    XMLWordPrintable

Details

    Description

      When porting an application to RESTEasy Reactive and OpenID Connect Client Filter Reactive users need to adjust the code when using @RegisterProvider(OidcClientRequestFilter.class) in their code.

      One would expect to swap just the dependencies without need to adjust the code.
      This is a usability issue and affects developer joy.

      Filter class name and package name need to changed.

      Needed changes:

      -import io.quarkus.oidc.client.filter.OidcClientRequestFilter;
      +import io.quarkus.oidc.client.reactive.filter.OidcClientRequestReactiveFilter;
      
      
      -@RegisterProvider(OidcClientRequestFilter.class)
      +@RegisterProvider(OidcClientRequestReactiveFilter.class)
      

      What's needed?

      • Usage of @OidcClientRequestFilter should be transparent to the end users
      • I think @OidcClientRequestFilter annotation should be extracted into dedicated dependency which would be used by both OpenID Connect Client Filter and OpenID Connect Client Filter Reactive

      Attachments

        Issue Links

          Activity

            People

              sbiarozk Sergey Beryozkin
              rsvoboda@redhat.com Rostislav Svoboda
              Rostislav Svoboda Rostislav Svoboda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: