Hi,

I'm working on getting DocCheck integrated for a client. I went through the process of signing up with DocCheck and identified myself as an agency working for a company, entered information for both, etc... I'm assuming you did something similar during the development of this module.

I'm having a problem getting this working while developing locally. I've gone ahead and created a test login folder. I took that Login ID and entered it into the module settings. I also copy/pasted the generated callback URL from the module settings into into the Target URL field for the login.

I also created a test login/password user for my "company" and gave them every single role, and then placed them in the login folder of the Login ID that I saved in Drupal.

When I go to http://localdomain.docksal/doccheck-login and enter the test user/pass combination, and slick Sign In, I get redirected to http://info.doccheck.com/com/error/login/companypassword-access-denied/? with an error message of

Unfortunately you do not have access to this page
You have got a company password, which allows the access only to the websites of that company.

Click here to register with DocCheck and get access to more than 2,500 websites with medical information.

If you are stuck and our help section does not solve your problem, please drop us an email.

So, is it not possible to develop locally for this? Feels like an impossible task to build such a module without doing local development, so I'm just wondering how you achieved it. Thanks.

Comments

lpeabody created an issue. See original summary.

sleitner’s picture

Hi lpeabody,

this seems to be a doccheck only question. Which login status is set in the login administration? Should not be "locked", try "active not listed". Did you create a test password or a company password? I'm not sure if company passwords work when login status is "test". The company login must be set up in the same company as the login.

In the this drupal module, you can activate the develoment mode in the configuration to login directly without Doccheck. There will be a link "development" link next to the doccheck login box. Do not forget to remove this before deploying to production environment!

sleitner’s picture

Status: Active » Closed (cannot reproduce)
Issue tags: +3rd-party