271 Commits

Author SHA1 Message Date
Daniel
eff298230f
Just a minor typo (#9784) 2021-03-22 16:49:54 +01:00
Quentin Dauprat
de33136264
feat(users-permissions): Add Auth0 provider (#8362)
* feat(users-permissions): Add Auth0 provider

Signed-off-by: Heziode <heziode@protonmail.com>

* fix(users-permissions): update path to providers settings

Update path due to change in U&P path in v3.1.5

Signed-off-by: Heziode <heziode@protonmail.com>
2021-01-25 09:09:45 +01:00
Zeranoe
2900584be5
Add reddit auth provider (#8537)
Signed-off-by: Kyle Schwarz <zeranoe@gmail.com>
2021-01-22 19:24:33 +01:00
Pierre Noël
21ebe0d049
Fix instagram login after instagram API changed (#9101)
* fix instagram login since instagram API changed

* use purest-providers config
2021-01-18 14:53:53 +01:00
HichamELBSI
53231b5833 Merge branch 'master' into feature/relational-fields 2020-12-16 10:17:47 +01:00
EdgyCoder ✌
18cb87a93f
Small changes to 'cognito' case! (#8549)
Removed comment on Cognito and removed unnecessary variable
2020-12-14 12:22:20 +01:00
Alexandre Bodin
7d8d710cc9 Return rejection in user service
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-11-03 17:38:34 +01:00
Alexandre Bodin
07e7cfc0bd Make lint stricter and fix the errors
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-11-02 19:41:42 +01:00
Alexandre Bodin
529d147726 Add confirmationToken to user for email confirmation
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-16 17:36:45 +02:00
Ralph
b35b8f72b3
AWS Cognito provider (#6917)
Add login provider AWS Cognito

Signed-off-by: ralphsomeday
2020-10-06 11:45:22 +02:00
Khalid Elshafie
3e23646f1b
Add LinkedIn auth provider (#7490)
* Add LinkedIn auth provider

Signed-off-by: Khalid Elshafie <abolkog@gmail.com>
2020-09-04 14:37:30 +02:00
Vinit Sarvade
dcd5254e60
Use brcrypt.compare for password validation instead of compareSync (#7612)
Signed-off-by: Vinit Sarvade <vinit.sarvade.08@gmail.com>
2020-09-01 17:03:37 +02:00
soupette
16261bb156 Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-08-31 14:17:30 +02:00
soupette
82ae1fc6c1 Fixes #7584.
Update the documentation override

Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-08-26 14:55:09 +02:00
Pierre Noël
75cb374f89 Update the provider loggin doc + display absolute redirect uri in front
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-08-04 09:49:28 +02:00
Akash P
27ee50d1e5
Fix #7252: fix relation name
fix regression issue due to pull #7204

Signed-off-by: Akash P <aksdevac@gmail.com>
2020-07-31 12:59:46 +05:30
Juan David Landazabal
55f576bd1d
Fix/#7197/Change custom populate state to own service (#7204)
* Fix/#7197/Change custom populate state to own service

To avoid issue with population we change the service of state user to there own service call "fetchState", also to keep a separate customization

Signed-off-by: Juan David <juand.business@gmail.com>

* specific service for fetch  authenticated user

Signed-off-by: Juan David <juand.business@gmail.com>

* Update comment

Signed-off-by: Juan David <juand.business@gmail.com>

* Add some comments

Signed-off-by: Juan David <juand.business@gmail.com>
2020-07-28 09:18:18 +02:00
Igor Tatarintsev
bb6365213b
Bump VK provider version (#6594)
Signed-off-by: Igor Tatarintsev <ietatarin@gmail.com>
2020-07-24 11:10:09 +02:00
Alexandre Bodin
b71ffa6c6c Merge branch 'master' into features/rbac 2020-07-16 14:52:55 +02:00
MattieBelt
39284d196b Fix all lowercase action name
Signed-off-by: MattieBelt <mattiasvandenbelt@gmail.com>
2020-07-14 12:40:06 +02:00
Convly
e63306b559 Rewrote users-permissions's controller to fit with rbac, fix various bugs in content-manager's controllers
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 11:48:44 +02:00
Alexandre Bodin
252bb3afe3 Remove email update of admin during test that break next tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:51:03 +02:00
Juan David Landazabal
f4959d9560
Allow custom populate in ctx.state.user (#6770)
* Allow custom populate in user model

Signed-off-by: Juan David <juand.business@gmail.com>

* use merge from lodash to join a custom populate

Signed-off-by: Juan David <juand.business@gmail.com>

* refactor fech
2020-07-06 09:43:30 +02:00
Jim LAURIE
4582c55bc3
fix: init reset password permission close #6440 (#6696)
Signed-off-by: Jim LAURIE <j.laurie6993@gmail.com>
2020-06-16 11:51:27 +02:00
Jim LAURIE
fc4cef9926 fix: fix pr feedback
Signed-off-by: Jim LAURIE <j.laurie6993@gmail.com>
2020-05-22 10:34:38 +02:00
Jim LAURIE
16c304d710 Merge branch 'master' of github.com:strapi/strapi into jwtconfig 2020-05-22 10:22:14 +02:00
trick0
04337262cb Merge branch 'master' into master
Signed-off-by: Walter Cossu <walter.cossu@realt.it>
2020-05-13 18:33:44 +02:00
David Thomas
ba6c0b4ba2
Add Twitch auth provider (#6171)
* Add Twitch auth provider

Signed-off-by: David Thomas <dev@synth3.tk>

* Remove unneeded label exclusion

Signed-off-by: David Thomas <dev@synth3.tk>
2020-05-12 16:48:18 +02:00
Sulakin Vadim
30ba717525
fix vk providers (#5783) 2020-05-12 14:04:52 +02:00
Pierre Noël
57d7d876b7
Fix/#4513/ability to use a sub path behind a proxy (#5833)
* add possibility to use strapi on a non-root base url path

* fix documentation password form

* use server.url and admin.url in config

Signed-off-by: Pierre Noël <pierre.noel@strapi.io>

* update doc proxy

Signed-off-by: Pierre Noël <pierre.noel@strapi.io>

* move server.url location in config

Signed-off-by: Pierre Noël <pierre.noel@strapi.io>

* refacto

Signed-off-by: Pierre Noël <pierre.noel@strapi.io>

* add possibility to put relative urls

Signed-off-by: Pierre Noël <pierre.noel@strapi.io>

* allow '/' as an admin url + refacto

Signed-off-by: Pierre Noël <pierre.noel@strapi.io>

* update yarn.lock

Signed-off-by: Pierre Noël <petersg83@gmail.com>

* refacto

Signed-off-by: Pierre Noël <petersg83@gmail.com>

* Remove default proxy option

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>

* fix github provider

Signed-off-by: Pierre Noël <petersg83@gmail.com>

* fix github login

Signed-off-by: Pierre Noël <petersg83@gmail.com>

* Remove files that should be here

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>

Co-authored-by: Pierre Noël <pierre.noel@strapi.io>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-08 13:50:00 +02:00
Alexandre Bodin
f192d5e171 Merge branch 'master' into develop
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-07 13:14:23 +02:00
Alexandre Bodin
4d5af2c95d Make password input optional while editing
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-05 19:05:43 +02:00
Alexandre Bodin
d7327d4395 remove overwritting env var witohut passing by the config
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 11:06:39 +02:00
Walter Cossu
f1745c0956 Merge branch 'master' of https://github.com/trick0/strapi
Signed-off-by: Walter Cossu <walter.cossu@realt.it>
2020-04-24 10:47:29 +02:00
Walter Cossu
90e0d75230 added countSearch method to user service 2020-04-24 10:30:37 +02:00
trick0
371e3e0d28
Merge branch 'master' into master 2020-04-24 10:26:37 +02:00
Pierre Noël
134fba1229 rename DEFAULT_PERMISSIONS
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-04-20 15:19:12 +02:00
Pierre Noël
ddc5bb5ac3 fix missing permissions at startup
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-04-20 15:19:11 +02:00
Walter Cossu
c01bda9fff added user count
Signed-off-by: Walter Cossu <walter.cossu@realt.it>
2020-04-17 18:00:03 +02:00
Matt
86321355c7 Added support for full jwt configuration with jwt.json config file
Signed-off-by: Matt <kapakapa197@gmail.com>
2020-04-12 14:23:43 +02:00
Alexandre Bodin
7a8c865051 Merge branch 'develop' into features/media-lib
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-02 15:18:08 +01:00
Alexandre Bodin
9c96b180fe Merge branch 'develop' into features/single-types 2020-01-22 10:39:42 +01:00
Alexandre Bodin
d1600dec21 Fix user-permissions bootstrap issue
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-01-16 16:56:14 +01:00
Thomas Baxter
37dbd955e2 feat(purest): upgrading purest to 3.x 2020-01-08 12:55:16 -05:00
Jim LAURIE
e5456da8eb
Merge branch 'master' into master 2019-12-23 11:04:29 +01:00
Abdón Rodríguez Davila
4620546d4c
Add populate option to the fetch user service 2019-12-19 18:58:46 +01:00
Sulakin Vadim
a858c66158
Merge pull request #4 from sulakin/Adding-a-VK-Provider
add vk
2019-12-06 01:45:26 +03:00
Sulakin Vadim
fc6ac8e231 add vk 2019-12-06 01:38:06 +03:00
Cowboy
b6ee350ac0 Fix no response when get user permission role with internal network 2019-12-02 14:58:57 +08:00
Victor LAMBERT
59aff0af3c Retrieve roles without populating users and permissions relations 2019-11-14 16:36:35 +01:00