Authentication help
- darkcloud784
- OFFLINE
- Posts: 3
- Thanks: 0
- Karma: 0
12 years 1 month ago #197705
by darkcloud784
Authentication help was created by darkcloud784
So I posted this on the joomla forums and didnt get an answer. I've been looking for a way to add a user through a java app. We've added the ability to add everything into the mysql database except for activation. What exactly gets stored there? is it a random MD5 password? is it some sort of hash? Any help with this would be GREATLY appreciated!!!!
Please Log in or Create an account to join the conversation.
- nant
- ONLINE
- Posts: 25532
- Thanks: 1834
- Karma: 877
12 years 1 month ago #197712
by nant
Yup - that's were this post belongs. BTW - deleted your cross forum posts on our other forum areas.
You really need to use Joomla API to do this, or even CB API.
You can study the CB Juice code to see how its done there.
--
Nick (nant)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Tutorials + Search the forums
For more add-ons and support: Upgrade your membership
Links: Community Builder - Languages - Adv/Pro/Dev membership - CBSubs Paid Subscriptions - GPL Templates - Hosting
Visit my CB Profile - Send me a Private Message (PM)
Replied by nant on topic Re: Authentication help
darkcloud784 wrote: So I posted this on the joomla forums and didnt get an answer.
Yup - that's were this post belongs. BTW - deleted your cross forum posts on our other forum areas.
I've been looking for a way to add a user through a java app. We've added the ability to add everything into the mysql database except for activation. What exactly gets stored there? is it a random MD5 password? is it some sort of hash? Any help with this would be GREATLY appreciated!!!!
You really need to use Joomla API to do this, or even CB API.
You can study the CB Juice code to see how its done there.
--
Nick (nant)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Tutorials + Search the forums
For more add-ons and support: Upgrade your membership
Links: Community Builder - Languages - Adv/Pro/Dev membership - CBSubs Paid Subscriptions - GPL Templates - Hosting
Visit my CB Profile - Send me a Private Message (PM)
Please Log in or Create an account to join the conversation.
- darkcloud784
- OFFLINE
- Posts: 3
- Thanks: 0
- Karma: 0
12 years 1 month ago - 12 years 1 month ago #198144
by darkcloud784
Replied by darkcloud784 on topic Re: Authentication help
Thx for the reply, but it doesnt give me much information. I looked at alot of the code and we thought we had it figured. The problem is that when we insert all the user data into the user table it spits out an email to the person trying to register. When they click on the link in the email it says they dont have the proper permissions to see the page.
Basicly this is what we're adding for a typical user:
Where the first long address is an MD5 hash set for the password and the second long address we THOUGHT was supposed to be a randomly generated auth code.
This is the email they get:
Greetings ,
Thank you for applying for registration with us. We have
received your request and we will process it as soon as you
confirm your email address by clicking on the following
hyperlink:
warcraftserver.com/index.php?option=com_comprofiler&task=confirm&confirmcode=
Notice how the confirmcode isnt showing anything. We've tried using both null and a randomly generated auth code to be stored there, both came with the same result.
Basicly this is what we're adding for a typical user:
Code:
derp derpherp derp@hotmail.com 4201248b3242fa4745c135dd6f956cb5:JO8OjVgolK5FEdNdM... Registered 0 0 2012-04-19 17:00:28 2012-04-19 21:27:31 8d224eff70e583619626ad5477cc94
Where the first long address is an MD5 hash set for the password and the second long address we THOUGHT was supposed to be a randomly generated auth code.
This is the email they get:
Greetings ,
Thank you for applying for registration with us. We have
received your request and we will process it as soon as you
confirm your email address by clicking on the following
hyperlink:
warcraftserver.com/index.php?option=com_comprofiler&task=confirm&confirmcode=
Notice how the confirmcode isnt showing anything. We've tried using both null and a randomly generated auth code to be stored there, both came with the same result.
Last edit: 12 years 1 month ago by darkcloud784.
Please Log in or Create an account to join the conversation.
- darkcloud784
- OFFLINE
- Posts: 3
- Thanks: 0
- Karma: 0
12 years 1 month ago #198342
by darkcloud784
Replied by darkcloud784 on topic Re: Authentication help
No one knows how to do this?
Please Log in or Create an account to join the conversation.
Moderators: beat, nant, krileon