S
S
Salavat2014-05-12 07:08:07
1C-Bitrix
Salavat, 2014-05-12 07:08:07

Bitrix authorization through the address bar

Task: log in to the site through other software and open the page through 1C.
For example, a user in 1C (own configuration) presses a button on the form, and the site opens, with the authorization of this user. Each 1C user has a username and password for the Bitrix website.
How to pass username and password through address bar? I think Bitrix would not allow this, but is there an alternative?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
svd71, 2014-05-12
@Salavat

In the open, that is, in the line, the transfer of authorization data leads to a hacking of the site.
For authorization, the so-called POST data is used. The names of these data can be seen if you view the source of the page in the browser. Fill them out and send them to the authorization address. One of the parameters there is which page to open after authorization.

V
Vadim Yakovlev, 2014-05-12
@FrimInc

Pass the user's login, a random number, and sha hash of these two parameters + a secret string to GET.
In Bitrix, check and authorize by login.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question