• Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Authentifizierung mittels OAuth2

    ChurchTools Schnittstellen
    24
    65
    10.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      simsa @gregorherr
      last edited by

      Als Workaround hab ich mir ein Docker Image erstellt, dass ein OIDC mit Church Tools Social Login ermöglicht.

      https://hub.docker.com/r/zendem/sociallogin-to-openidconnect

      Die App verbindet sich dann gegen diesen Docker Container mit OIDC, der sich dann wieder zu Church Tools verbindet.

      Beispiel Docker Compose

      services:
        sociallogintoopenid:
          image: zendem/sociallogin-to-openidconnect:latest
          environment:
            - OAUTH_SOCIAL_LOGIN_CLIENT_ID=secretFromOauthSociaLogin
            - OAUTH_SOCIAL_LOGIN_SECRET=randomString123
            - OAUTH_SOCIAL_LOGIN_REDIRECTURI=https://openid-church.example.org/login/oauth2/code/custom-client
            - OAUTH_SOCIAL_LOGIN_AUTHORIZATION_URI=https://yourchurch.church.tools/oauth/authorize
            - OAUTH_SOCIAL_LOGIN_TOKEN_URI=https://yourchurch.church.tools/oauth/access_token
            - OAUTH_SOCIAL_LOGIN_USER_INFO_URI=https://yourchurch.church.tools/oauth/userinfo
            - OPENID_ISSUER=https://openid-church.example.org
            - OPENID_CLIENT_ID=oidc-client
            - OPENID_CLIENT_SECRET=topSecret123
            - OPENID_REDIRECT_URI=https://yourapp.example.org/oauth2/callback
          ports:
            - "8080:8080"
          restart: unless-stopped
      
      davidschillingD 1 Reply Last reply Reply Quote 0
      • davidschillingD
        davidschilling ChurchToolsMitarbeiter @simsa
        last edited by davidschilling

        @simsa cool, hast du den Code dazu auch öffentlich?

        S 1 Reply Last reply Reply Quote 0
        • S
          simsa @davidschilling
          last edited by

          @davidschilling aktuell ist der noch nicht öffentlich.

          Muss das noch etwas bereinigen. Hab das für unsere Gemeinde intern entwickelt.

          Wenn es für Church Tools hilft, dass dadurch schneller OIDC nativ kommt, kann ich das evtl beschleunigen :-).

          ckauhausC 1 Reply Last reply Reply Quote 1
          • ckauhausC
            ckauhaus @simsa
            last edited by

            @simsa Ja bitte 🙂

            Der Code muss auch nicht perfekt sein. Wenn er erst einmal auf GitLab/GitHub/... ist, können andere auch mithelfen und PRs einsteuern.

            S 1 Reply Last reply Reply Quote 0
            • S
              simsa @ckauhaus
              last edited by

              Hab es hier mal veröffentlicht

              https://github.com/canchanchara/sociallogin-to-openidconnect/

              1 Reply Last reply Reply Quote 0
              • First post
                Last post