Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
The password must be hashed.
For single authorization, you can use OpenID
https://github.com/openid/php-openid
You can just do each service through a shim, in which you will redirect with the token back and write the cookie
From the site on which you need to log in, we send the donor accounts to the site.
If not automated, we suggest automating by writing down where the user came from.
If there is authorization, we send back via the link auth.php?user=username&token=code
code should consist of md5 (or better, salted md5 ) from ip+user_name+secret_code
secret_code should not be in clear text anywhere figure. only when generating code and checking.
it is also desirable to pass the page from which the user started the authorization process. it must be passed to and from the account server. After checking the code, do a redirect on it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question