[Koha-bugs] [Bug 30988] Adding a more generic version of googleopenidconnect

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 17 21:42:07 CEST 2022


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

Shi Yao Wang <shi-yao.wang at inLibro.com> changed:

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

--- Comment #3 from Shi Yao Wang <shi-yao.wang at inLibro.com> ---
Created attachment 136302
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136302&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.
You are the assignee for the bug.


More information about the Koha-bugs mailing list