Home  >  Q&A  >  body text

The website boasts domain name login. How to achieve it?

Need such a function, website A is built by itself, and manages the content of websites B, C, D (such as 163.com qq.com, etc.).

Now it is necessary to realize the content saved in website A (B , C, D) The username and password of the website, automatically log in to the website,

instead of manually entering the username and password every time.

is somewhat similar to "Yi Xiaoer" "How to implement the function of this content distribution platform?

P粉332397543P粉332397543748 days ago1132

reply all(12)I'll reply

  • P粉332397543

    P粉3323975432022-10-26 23:46:55

    Need an idea,

    You can also pay to buy a demo.

    reply
    0
  • 大瓶可乐@php.cn

    Use token When station A logs in, an encrypted token is generated. This token can be saved in session or redis. When station A clicks to station B, the token is passed to station B, and then station B decrypts the token and gets a user ID. If it is a correct user ID, use this user ID to go to station B for simulated login or direct judgment. For successful login

    大瓶可乐@php.cn · 2022-10-27 00:06:37
    P粉332397543

    Thank you for your reply. I have never come across tokens. Does token decryption require a lot of work? Or is there a fixed algorithm? In addition, these need to be completed in the background of site A and cannot control site B (such as logging in to 163.com)

    P粉332397543 · 2022-10-27 00:21:23
    大瓶可乐@php.cn

    Token is not difficult. How do you implement login on website B?

    大瓶可乐@php.cn · 2022-10-27 09:52:20
    大瓶可乐@php.cn

    How do you want to log in to your B website?

    大瓶可乐@php.cn · 2022-10-27 09:54:10
    P粉332397543

    B, C, D, need to manage a series of websites. Different login methods require verification codes. Some have account and password separated into two pages, and mobile phone text message verification is not considered.

    P粉332397543 · 2022-10-27 12:04:25
    大瓶可乐@php.cn

    Leave an email address and add friends

    大瓶可乐@php.cn · 2022-10-28 10:00:24
    P粉332397543

    Is it convenient to leave your qq? I will add you

    P粉332397543 · 2022-10-28 11:51:58
    大瓶可乐@php.cn

    You can join the QQ group of php Chinese website and shout in it

    大瓶可乐@php.cn · 2022-10-28 23:01:51
    大瓶可乐@php.cn

    It’s also called Big Bottle Coke in my group, just look for it and you’ll get it.

    大瓶可乐@php.cn · 2022-10-28 23:55:34
    P粉332397543

    I left you a message

    P粉332397543 · 2022-10-29 19:13:06
    大瓶可乐@php.cn

    I replied to your QQ. I won’t be here on the weekend.

    大瓶可乐@php.cn · 2022-10-31 15:22:32
  • Cancelreply