PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → Webdev login via API or http call
Webdev login via API or http call
Débuté par Stephen Myers, 13 juil. 2012 11:07 - 2 réponses
Posté le 13 juillet 2012 - 11:07
We provide a hosted and branded application to our customers. Upon login the website loads logos, names, etc. appropriate to the customer account. We want to have a login page which displays the correct logo for the customer.

We could do this one of three ways, but I don't know how to approach either. Please help:
1. We could have each customer use a fqdn Host/A record (name.server.com) and use http headers obn our server to direct to the correct login page for that customer. How do I do this in Webdev with dynamic pages since only one page is considered to be the First page?
2. Variation on the first method, I was thinking we could code a PHP or other type for each customer, use headers to direct. From the PHP login page, we would authenticate and then login the user to our dynamic WebDev. Can I do this all within WebDev? If so how do I pass the authenticated userid (to load appropriate variables)?
3. Similar to method 2 we could have our customers create their own login page on there webserver and then pass the authentication credentials to us. Once authenticated, we would take them to dynamic webdev app? Again, how do I allow another website/webserver to send information to a dynamic WebDev app?

Thanks for any help,

Stephen Myers
stephen.myers@teleflexnetworks.com
Posté le 16 juillet 2012 - 10:48
Hi Stephen,
Have you concidered using the SAAS function of WebDev?
If I havn't misunderstood your needs, it seems the way to go.

Regards,
Kim O'Regan
Posté le 18 juillet 2012 - 10:52
I have, but the problem still remains that I need to be able to uniquely brand the login page.

We "white-label" or service so that our partners use our service for their end customers with no reference to us at all. Is this possible to do with SAAS? If SAAS would allow as to pass credentials from another webpage, then maybe you are on to something.

For the sake of clarity, we would host an A/host DNS record for 3 "white-label" partners.
portal.companyA.com
portal.companyB.com
portal.companyC.com

When browsing to one of these the user should see a login branded to that particular company.

Kim O'Regan wrote in news message <e6c09e5f239c85d69f7cb232e48a73fa@news.pcsoft>:
Hi Stephen,
Have you concidered using the SAAS function of WebDev?
If I havn't misunderstood your needs, it seems the way to go.

Regards,
Kim O'Regan