Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with GItea OAuth #67

Closed
yedajiang44 opened this issue Jun 21, 2023 · 1 comment
Closed

Problems with GItea OAuth #67

yedajiang44 opened this issue Jun 21, 2023 · 1 comment

Comments

@yedajiang44
Copy link

docker-compose.yml

version: "3"

networks:
  gitea:
    name: gitea
    external: false

services:
  gitea:
    image: gitea/gitea:1.19.3
    container_name: gitea
    restart: always
    volumes:
      - gitea:/data
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    ports:
      - 3999:3000
    networks:
      - gitea
  opengist:
    image: ghcr.io/thomiceli/opengist
    container_name: opengist
    restart: unless-stopped
    entrypoint: ["./opengist", "--config","/config/config.yml"]
    ports:
      - 6157:6157 # HTTP port
    volumes:
      - opengist:/config
volumes:
  gitea:
    driver: local
    driver_opts:
      type: none
      o: bind
      device: ./data/gitea
  opengist:
    driver: local
    driver_opts:
      type: none
      o: bind
      device: ./data/opengist

setting wih config but oauth response

Error 400
Bad Request
Cannot complete user auth
@yedajiang44
Copy link
Author

I'm sorry, I was wrong.

gitea need config webhook like this

[webhook]
ALLOWED_HOST_LIST = *

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant