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

Shi Yao Wang <shi-yao.w...@inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #136302|0                           |1
        is obsolete|                            |

--- Comment #10 from Shi Yao Wang <shi-yao.w...@inlibro.com> ---
Created attachment 136382
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136382&action=edit
Bug 30988: Adding a more generic version of googleopenidconnect

More generic OpenID Connect based off of googleopenidconnect

Test plan:
1- Set up an OAuth2 provider that has a discovery doc (e.g. for google it's
https://accounts.google.com/.well-known/openid-configuration) and note down the
client id and client secret.
Docs to help setup:
google: https://developers.google.com/identity/protocols/oauth2/openid-connect
       
https://koha-community.org/manual/20.11/en/html/administrationpreferences.html
gitlab: https://docs.gitlab.com/ee/integration/oauth_provider.html
2- Apply the patch
3- Run atomicupdate to update database
4- Configure system preferences:
    a- Set OpenIDConnect to Yes
    b- Enter the url to the discovery doc of your OAuth2 provider
    c- Fill OpenIDOAuth2ClientID with noted client id
    d- Fill OpenIDOAuth2ClientSecret with noted client secret

    e- Configure the other related system preferences as you wish. They
shoud work the same way as the similarly named GoogleOpenID* ones.
5- If OpenIDConnectAutoRegister is set to Don't allow, have a koha
account with the same email as the one used by your OAuth2 provider.
6- In OPAC, sign in using OpenID.
7- You may have to log into your OpenID provider account and accept conditions.
It should finally log you into the koha account.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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