https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39160

--- Comment #4 from Magnus Enger <[email protected]> ---
I *think* I did all the steps in "Testing SSO", but when I try to sign in to
the OPAC, I get "No configuration found for your provider", even though I do
have a configuration called "test" and the "Log in with Test" link points to
http://localhost:8080/api/v1/public/oauth/login/test/opac. 

The error comes from this code:

    unless ( $provider_config && $provider_config->{authorize_url} ) {
        my $error = "No configuration found for your provider";
        return $c->redirect_to( $uri . "?auth_error=$error" );
    }

If I dump the $provider_config I get this: 

$VAR1 = {
          'scope' => 'openid email',
          'key' => 'kohaoidc',
          'secret' => 'tYgrpU0KXt2EtPu5b437Oj6viMImMoqK',
          'well_known_url' =>
'http://localhost:8082/auth/realms/test/.well-known/openid-configuration'
        };

So there is no authorize_url there, but I am not sure why.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to