View | Details | Raw Unified | Return to bug 33708
Collapse All | Expand All

(-)a/Koha/Template/Plugin/AuthClient.pm (-1 / +1 lines)
Lines 50-56 sub get_providers { Link Here
50
      if $interface eq 'intranet';
50
      if $interface eq 'intranet';
51
51
52
    my $providers = Koha::Auth::Identity::Providers->search( { "domains.allow_$interface" => 1 }, { prefetch => 'domains' } );
52
    my $providers = Koha::Auth::Identity::Providers->search( { "domains.allow_$interface" => 1 }, { prefetch => 'domains' } );
53
    my $base_url  = ( $interface ne 'staff' ) ? "/api/v1/public/oauth/login" : "/api/v1/public/oauth/login";
53
    my $base_url  = ( $interface eq 'staff' ) ? "/api/v1/oauth/login" : "/api/v1/public/oauth/login";
54
54
55
    my @urls;
55
    my @urls;
56
56
(-)a/api/v1/swagger/swagger.yaml (-1 / +2 lines)
Lines 281-286 paths: Link Here
281
    $ref: ./paths/libraries.yaml#/~1libraries
281
    $ref: ./paths/libraries.yaml#/~1libraries
282
  "/libraries/{library_id}":
282
  "/libraries/{library_id}":
283
    $ref: "./paths/libraries.yaml#/~1libraries~1{library_id}"
283
    $ref: "./paths/libraries.yaml#/~1libraries~1{library_id}"
284
  "/oauth/login/{provider_code}/{interface}":
285
    $ref: ./paths/oauth.yaml#/~1oauth~1login~1{provider_code}~1{interface}
284
  /oauth/token:
286
  /oauth/token:
285
    $ref: ./paths/oauth.yaml#/~1oauth~1token
287
    $ref: ./paths/oauth.yaml#/~1oauth~1token
286
  /patrons:
288
  /patrons:
287
- 

Return to bug 33708