Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

CB Login form to allow for user to login from non joomla html page to joomla sit

  • snmjoomla
  • snmjoomla
  • OFFLINE
  • Posts: 12
  • Thanks: 0
  • Karma: 0
5 years 10 months ago #310669 by snmjoomla
I have a use case where I have an html page on same domain as my joomla site.
On that html page I provide user login form so that they can login to my joomla site.
This works good but I have noticed that value for cbsecuritym3 keeps getting changed every day leading to my form breaking every day.

Looking for any guidance around best way to achieve this use case in same domain

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48622
  • Thanks: 8302
  • Karma: 1446
5 years 10 months ago - 5 years 10 months ago #310680 by krileon
CB will not allow you to do that as it's called spoofing. CB only allows forms to submit that CB generated. You can have a page in Joomla that's just the CB login module if necessary by using a menu item to CBs login page then assigning a template to that menu item that doesn't have any module positions or uses different module positions than your default template. Alternatively you can create a Joomla menu item with External menutype then use the below URL.

index.php?option=com_comprofiler&view=login&tmpl=component

That'll render just the login page and nothing else.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 5 years 10 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • snmjoomla
  • snmjoomla
  • OFFLINE
  • Posts: 12
  • Thanks: 0
  • Karma: 0
5 years 10 months ago #310691 by snmjoomla
Thanks for prompt reply I understand.

Is there a workaround to allow spoofing from page on same domain by whitelisting some url path
Again in my case home page/landing page for my site is pure HTML page and I want to provide a cb login form on that page for seamless experience

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48622
  • Thanks: 8302
  • Karma: 1446
5 years 10 months ago #310712 by krileon

Is there a workaround to allow spoofing from page on same domain by whitelisting some url path

No.

Again in my case home page/landing page for my site is pure HTML page and I want to provide a cb login form on that page for seamless experience

Do that within Joomla. I've no idea why you're trying to use an external page for that.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum