Files
mattermost/api4
Mario de Frutos Dieguez 22297a9bf4 [MM-28083] CWS one-time login logic (#15356)
* Cloud token login

This PR adds the capability of activate the cloud token login that
will be used in our Cloud installations to let the customer login
for the first time without using credentials.

* Read CSRF from cookie when is not on the header and we're login with CWS

* Create new CWS login endpoint

- New endpoint created
- We're using the cloud feature from the license instead of the
configuration flag
- Removed the CSRF changes

* Reduce amount of work if cws token is not set

* Removed unused config key

* Now we store the token to detect it was used

If the token is in the token store then we are assuming that the
token was used

* Add tests

* Add i18n strings
2020-09-01 08:50:43 -04:00
..
2020-07-06 18:20:35 -04:00
2020-08-21 16:49:31 -04:00
2020-08-21 16:49:31 -04:00
2020-08-21 16:49:31 -04:00
2020-08-21 16:49:31 -04:00
2020-04-08 00:52:30 -04:00
2020-08-21 16:49:31 -04:00
2020-08-21 16:49:31 -04:00
2020-08-21 16:49:31 -04:00
2020-08-21 16:49:31 -04:00
2020-04-08 00:52:30 -04:00
2020-08-21 16:49:31 -04:00
2020-08-13 11:12:08 +05:30
2020-08-21 16:49:31 -04:00
2020-08-21 16:49:31 -04:00
2020-08-21 16:49:31 -04:00
2020-08-21 16:49:31 -04:00
2020-04-08 00:52:30 -04:00