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

Sign in Button #5

Open
isra-abdelsalam opened this issue Feb 15, 2017 · 8 comments
Open

Sign in Button #5

isra-abdelsalam opened this issue Feb 15, 2017 · 8 comments

Comments

@isra-abdelsalam
Copy link

Really i want to thank you for this amazing addons
i face some problem with it , i add the IDP metadata , and add the SP metadata configuration (in the setting , not into the code), and i allow users to login with saml .
After that, i can`t see any saml button in the login page , and when i try to go to the link (http://myserviceprovider:8069/metadata, or http://myserviceprovide:8069/auth_saml/signin) both are not work

@houzefa-abba
Copy link
Member

Hey,

Which versions of Odoo & auth_saml are you using?

@isra-abdelsalam
Copy link
Author

Hey,
Iam using Openerp 7
Use maser branch

@houzefa-abba
Copy link
Member

Hmm, on Odoo 7 we have only tested wth some very old versions of Odoo 7. You will have to debug what is going on in auth_saml/static/src. I would start by checking the css is added to the view, and is compatible with it; then see whether the button added by auth_saml/static/src/xml/auth_saml.xml is correctly being added.

@isra-abdelsalam
Copy link
Author

I check auth_saml/static/src/xml/auth_saml.xml and it is added to auth_saml/openerp.py correctly

@houzefa-abba
Copy link
Member

I would check the login page itself, with the developer tools provided by my browser. Eg with Chrome: https://developers.google.com/web/tools/chrome-devtools/.

Check whether that button with oe_saml_provider_login_button is there, then the CSS styles it has; then find out why it is hidden.

@houzefa-abba
Copy link
Member

Actually this also works with more recent versions of Odoo 7; it works with rev d246e36c824931613229a6467e21d65d392a2fa3 of odoo/odoo.

One reason you may not be seeing any login button: At least 1 SAML provider has to be enabled.

@vincent-hatakeyama vincent-hatakeyama changed the title Sing in Button Sign in Button Feb 16, 2017
@isra-abdelsalam
Copy link
Author

isra-abdelsalam commented Feb 19, 2017

Actually , SAML provider is enable , and in the general setting

Allow SAML users to posess an Odoo password
is checked

@isra-abdelsalam
Copy link
Author

Hello
I think it may be error in configuration , I didn't change the default value of the field Matching Attribute , but i don't know which value it must take

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

2 participants