INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Authenicate with URL by username and password (encrypted?)

Authenicate with URL by username and password (encrypted?)

Authenicate with URL by username and password (encrypted?)

(OP)
Hello!

I'm trying to leverage our CRM to generate a link for each user that then will authenticate against their WordPress user account and get them into our WordPress website.

I know in the past I would get emails with customized links that would bring me to the website and have me already logged in and I'm wondering how to replicate this.

Basically we have users that do not remember their password and we really want them to not leave our site without consuming our product. It's important that we track each consumable item on our website by user.

Any ideas would be appreciated.

Thank you!!

RE: Authenicate with URL by username and password (encrypted?)

More of something you need to implement on your CRM rather than anything that can be implemented in a WordPress installation only.

Implementing something such as OpenID, Google APPs or LDAP on both systems should be possible

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: Authenicate with URL by username and password (encrypted?)

agreed that google authenticate, fb authenticate or the like should be the best. although it does require the punter to remember their password at least once.

but going back to the actual question as a pure coding task - yes. that's easy to do. You'd write a plugin that had the following aspects

1. register new rewrite rule in the form of \authurl\somerandomstring. point the rewrite rule at an appropriate script
2. within the repointed script, analyse the incoming url and compare it against the user list. login as desirable.

then in your crm you'd implement a script to assign random IDs to each user and push them directly to the WP Database or, probably better, at a webservice that will update the wp database for you. you'll need in either case some contiguity of information/foreign key. email address might be a solid unique identifier common to each data store.

or rewrite the user classes in wp to point at your crm instead. that would work too.

but ... from a security perspective using a static obfuscated url to control user authentication and authorisation seems like a bad idea.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close