Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Discuss
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Manajemen Properti
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Tanya ahli
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Setting up signin with Google correctly over https

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
googlehttpsoauth2
6215 Tampilan
Avatar
Steven Segers

We are using the Google OAuth2 provider to allow user to log in. Here is some documentation on how to set that up: http://serpentcs.com/serpentcs-how-to-connect-to-odoo-using-google-account-339

We recently enabled https for our site.

We have been able to make this work using the below Apache Proxy config and by adding both http and https urls in the Google Console as authorized redirect urls. 

There has been a bug-report by other people struggling with this: https://github.com/odoo/odoo/issues/24882

Although it works, one thing is not clean: the url that links to google contains http://mysite.com redirect_uri. So a small part of the communication still goes through plain http. This is not a big issue in itself except that it is not unlikely that google will one day decide that plain-http urls are no longer allowed. I'd rather not wait till that day comes to figure out what to do.

The Odoo documentation for setting up https uses nginx as example. There I see some configuration for setting some hearders. Would that solve this issue and if so, would it be possible to achieve the same with apache?

Our apache config:

<VirtualHost *:80>
    ServerAlias www.mysite.com
    ServerAlias mysite.com
    ServerAdmin admin@mysite.com
    DocumentRoot /var/www
Redirect / https://mysite.com/ </VirtualHost>
<VirtualHost *:443>
ServerAlias www.mysite.com ServerAlias mysite.com ServerAdmin admin@mysite.com DocumentRoot /var/www ErrorLog ${APACHE_LOG_DIR}/odoo.error.log CustomLog ${APACHE_LOG_DIR}/odoo.access.log combined  ProxyPass / http://192.168.1.1:8069/ ProxyPassReverse / http://192.168.1.1:8069/ SSLEngine on SSLCertificateFile /etc/ssl/cert/mysite_com.crt SSLCertificateKeyFile /etc/ssl/cert/www_mysite_com.key SSLCertificateChainFile /etc/ssl/cert/mysite_com.ca-bundle </VirtualHost>




0
Avatar
Buang
Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
oauth_error=3 Diselesaikan
google oauth2
Avatar
Avatar
Avatar
2
Jan 22
10881
Google OAuth Error 400
error google google_calendar oauth2
Avatar
Avatar
1
Agu 25
5414
[odoo v12] how to get Facebook/Google user's public data (as picture, age...) using oauth2 ?
google oauth facebook oauth2
Avatar
0
Mei 20
5587
Need to recieve google emails in Odoo Inbox using Google OAuth2 Diselesaikan
google gmail odooV8 oauth2
Avatar
Avatar
1
Mei 17
6469
Configure Odoo 8 to generate correct URLs when behind reverse proxy? Diselesaikan
google nginx reverse_proxy oauth2
Avatar
2
Apr 17
13342
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Karir
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now