I have setup a server with odoo v8 and I am testing the odoo blog and forum modules. When I want to register as a fellow, I am redirected to the odoo.com domain, which is not acceptable nor professional nor respectful to my users since they want to register to my web site, not to odoo.com which appear as an alien.
Is it feasable without acking?
EDIT : additional information:
When I hover the Sign-in menu entry, I have: https://my-site.com/web/login
When I hover the register link, I have : https://my-site.com/web/signup
When I click the register link, it goes to : https://accounts.odoo.com/web/login?redirect=%2Foauth2%2Fauth%2F%3Fstate%3D%257B%2522p%2522%253A%2B1%252C%2B%2522r%2522%253A%2B%2522http%25253A%25252F%25252Fmy-site.com%25252Fweb%2522%252C%2B%2522d%2522%253A%2B%2522my-site%2522%257D%26redirect_uri%3Dhttp%253A%252F%252Fmy-site.com%252Fauth_oauth%252Fsignin%26response_type%3Dtoken%26client_id%3Dc57aad02-423d-11e4-98db-2fb386278206%26debug%3D1%26scope%3Duserinfo&mode=login&debug=1&scope=userinfo&login=&redirect_hostname=http%3A%2F%2Fmy-site.com
You can reach it here.
If you'd like to keep other OAuth providers but switch off Odoo.com signup you can just make sure that Settings >> General > Use external authentication providers, sign in with google, facebook, ... is ticked.
Then go to Settings >> OAuth Providers and find Odoo.com Accounts, click Edit and untick Allowed and save. This will allow you to add as many OAuth providers as you like for sign in, while keeping the Odoo.com default signup switched off.
You'll notice with Odoo.com Accounts OAuth method switched off you can go to yourdomain.com/web/signup and you'll have a standard (local) signup form. If you want to add other OAuth providers later you can do so.
If you have any issues with this (eg. after installation of another OAuth provider) please comment and explain the issues you have run into.
H Laurent, i think it's to do with Module - OAuth : (auth_oauth). Please look thru this module.
Found this: auth_oauth_data.xml
<record id="provider_openerp" model="auth.oauth.provider">
<field name="name">Odoo.com Accounts</field>
<field name="css_class">zocial openerp</field>
<field name="body">Log in with Odoo.com</field>
<field name="enabled" eval="True"/>
Now you could remove this and leave the other in place if still required.
Now, I could be wrong here check it out, i take no liability too.
Let us know how your go. Cheers
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 10/12/14, 9:27 AM|
|Seen: 6426 times|
|Last updated: 7/18/16, 6:10 AM|