Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-17091

SocialAuth Implementation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Trivial
    • None
    • 12.1
    • Extension
    • None
    • Docker
    • Unknown
    • N/A
    • N/A

    Description

      Hi guys,

       

      This is most likely an ID10T issue, so apologies in advance!

       

      I'm looking to implement the Social Login extension, but I seem to be having some issues editing/creating the relevant files it requires under "For versions 2.0 and above"

       

      I've done docker exec -it Xwiki /bin/bash, but I'm unable to find a text editor (vi or nano) that's installed so that I may create said files.

       

      What would be the best way of creating these files?

       

      Current docker-compose file used for testing:

       xwiki:
       # Use an already built XWiki image from DockerHub.
       image: "xwiki:lts-postgres-tomcat"
       container_name: Xwiki
       hostname: Xwiki
       depends_on:
       - xwikidb
       # The DB_USER/DB_PASSWORD/DB_HOST variables are used in the hibernate.cfg.xml file.
       environment:
       - DB_USER=xwiki
       - DB_PASSWORD=xwiki
       - DB_DATABASE=xwiki
       - DB_HOST=XwikiDB
       # Provide a name instead of an auto-generated id for the xwiki permanent directory configured in the Dockerfile,
       # to make it simpler to identify in 'docker volume ls'.
       volumes:
       - Xwiki-Data:/usr/local/xwiki
       restart: always
       networks:
       docker-macvlan:
       ipv4_address: '192.168.0.6'
       # The container that runs PostgreSQL
       xwikidb:
       image: "postgres:12-alpine"
       container_name: XwikiDB
       hostname: XwikiDB
       volumes:
       - Xwiki-DB:/var/lib/postgresql/data
       environment:
       - POSTGRES_ROOT_PASSWORD=xwiki
       - POSTGRES_PASSWORD=xwiki
       - POSTGRES_USER=xwiki
       - POSTGRES_DB=xwiki
       - POSTGRES_INITDB_ARGS="--encoding=UTF8"
       restart: always
       networks:
       docker-macvlan:
       ipv4_address: '192.168.0.7'

      Attachments

        Activity

          People

            surli Simon Urli
            modem7 Alex Lane
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: