Bert Blommers
b9e38ecc76
CognitoIDP:list_users() - Implement AttributesToGet-parameter ( #4539 )
2021-11-07 15:02:48 -01:00
Łukasz
56866e0ef5
Add add_custom_attributes implementation ( #4498 )
2021-10-30 09:58:29 +00:00
Łukasz
07e8ba48ba
cognito-idp standard attributes and pool schema validation ( #4493 )
2021-10-29 11:25:52 +00:00
Maksymilian Babarowski
7a1c38e11a
cognito-idp – Implemented admin_delete_user_attributes ( #4487 )
2021-10-28 21:21:22 +00:00
Łukasz
ec7c2d6d5d
Return OTP from forgot password ( #4478 )
2021-10-27 18:29:29 +00:00
Maksymilian Babarowski
98ca9b82e1
cognito-idp – Correct exception when user does not exist ( #4482 )
2021-10-27 10:43:37 +00:00
Łukasz
fee16cb388
Added significant verification to ForgotPassword, changed UserStatus dict to enum ( #4469 )
2021-10-24 14:26:57 +00:00
Łukasz
a4a8949166
CognitoIDP github.com/spulec/moto/issues/4452 - missing EstimatedNumberOfUsers ( #4470 )
2021-10-24 13:29:16 +00:00
Maksymilian Babarowski
ce91a8d615
cognito-idp – Implemented admin_confirm_sign_up ( #4462 ) ( #4463 )
2021-10-23 11:32:56 +00:00
Leo Thomas
46131e0340
Userpool UsernameAttributes ( #4262 )
2021-10-20 11:56:45 +00:00
Maksymilian Babarowski
a192a42e8f
cognito-idp – Correct exception message when user pool not found ( #4434 ) ( #4436 )
2021-10-19 13:05:31 +00:00
Maksymilian Babarowski
cc5a5c3d72
cognito-idp – Implemented update_user_pool ( #4433 ) ( #4435 )
2021-10-19 09:18:52 +00:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules ( #4432 )
2021-10-18 19:44:29 +00:00
Łukasz
230e34748f
Added admin_reset_user_password implementation ( #4412 )
2021-10-14 10:12:08 +00:00
Maksymilian Babarowski
4d10b11ecb
cognito-idp – Do not allow custom attributes in list_users() Filter param ( #4389 ) ( #4407 )
2021-10-13 09:55:58 +00:00
Maksymilian Babarowski
c60fb068e1
cognito-idp – Added format validation and implemented prefix operator for Filter param of list_users ( #4388 )
2021-10-11 22:31:40 +00:00
Bartosz Sledz
b3fe48ece0
Add support for USER_PASSWORD_AUTH auth method (cognito-idp) ( #4164 )
...
Co-authored-by: Bartosz Sledz <bartosz.sledz@hitachivantara.com>
2021-08-12 09:19:54 +01:00
Bert Blommers
bc369679f2
Update test_cognitoidp.py
2021-08-03 16:54:31 +01:00
Łukasz
33988b96c2
fix for 'status' filter, inherent_attributes test ( #4129 )
...
Co-authored-by: Łukasz Nowak <lukasz.nowak@idemia.com>
2021-08-03 16:34:07 +01:00
Łukasz
16a4db1ce5
cognito:user_status filter in list users ( #4120 )
...
Co-authored-by: Łukasz Nowak <lukasz.nowak@idemia.com>
2021-08-03 07:56:41 +01:00
andyfase
0f8da52196
Add support for admin_user_global_sign_out to cognitoidp ( #4092 )
...
* Add support for admin_user_global_sign_out to cognitoidp
2021-07-27 18:49:19 +01:00
Alastair McCormack
cb53f86c24
fix: cognito-idp: admin_create_user remove default attributes ( #4070 )
...
* 4069: fix: cognito-idp: admin_create_user remove default attributes
2021-07-14 15:35:09 +01:00
Bert Blommers
2590bf0e80
CognitoIDP: get_user ( #4038 )
...
* cognito-idp get_user support
* add carium expected attributes
* CognitoIDP#get_user - Add negative tests
Co-authored-by: Lalitha Kolla <lalitha.kolla@carium.com>
2021-06-27 15:48:31 +01:00
George-lewis
f76571199f
Implement User Pool MFA Actions ( #3903 )
...
* implement user pool mfa actions
* Add messages to errors
Add messages to errors
Fix error message
* Change exception type
* fix validation & add more tests
Co-authored-by: George Lewis <glewis@evertz.com>
2021-05-06 17:59:04 +01:00
Sawyer Hollenshead
b9f83c200f
Cognito IdP: Raise UsernameExistsException from sign_up when user exists ( #3765 )
...
* Raise UsernameExistsException from sign_up when user exists
* Run formatter
* Use pytest.raises
* Fix test
2021-03-16 22:22:53 +00:00
Gordon Forsythe
d07e287b37
pool domain should always return a domain ( #3707 )
...
* pool domain should always return a domain
Refs https://github.com/spulec/moto/issues/3706
* set character encoding
* test CloudFrontDomain exists on pool domain
* describe pool domain does not return cloudfront domain
2021-02-18 17:10:52 +00:00
Robin Wilkins
a31599d000
Support cognito admin user password auth flow ( #3547 )
...
Applies the user credentials pattern from the ADMIN_NO_SRP_AUTH flow
to the ADMIN_USER_PASSWORD_AUTH auth flow for Cognito admin_initiate_auth
requests.
Co-authored-by: Robin Wilkins <r.wilkins@waracle.com>
2020-12-15 07:48:52 +00:00
Antonin
c5d0aa0c10
fix SALT and SRP_B params
2020-12-03 11:42:10 +01:00
Brian Pandola
93b393c679
Fix: Python 2/3 Incompatibility ( #3488 )
...
Previous code would raise `TypeError: 'dict_keys' object is not subscriptable`
when run under Python 3.
* Re-write code in Python 2/3 compatible way.
* Add clarifying comment.
* Add test coverage.
Supersedes #3227
2020-11-21 13:36:33 +00:00
Bert Blommers
273ca63d59
Linting
2020-11-11 15:55:37 +00:00
Matěj Cepl
5697ff87a8
Back to Black
2020-11-10 14:12:38 +01:00
Matěj Cepl
ea489bce6c
Finish porting from nose to pytest.
2020-11-10 08:25:05 +01:00
Matěj Cepl
77dc60ea97
Port test suite from nose to pytest.
...
This just eliminates all errors on the tests collection. Elimination of
failures is left to the next commit.
2020-11-10 08:23:44 +01:00
ayushbhawsar
2e0e542efe
added cognito idp function admin_set_user_password to the code ( #3328 )
...
* added cognito idp function to the code
* fixed linting issues
2020-09-21 18:40:07 +01:00
Guy Moses
7ce1e87477
[fix] cognito-idp list_users Filter arg now support spaces ( #3317 )
2020-09-19 11:26:01 +01:00
xsphrx
236ab59afe
added cognito-idp initiate_auth and PASSWORD_VERIFIER challenge to respond_to_auth_challenge ( #3260 )
...
* added cognito-idp initiate_auth and PASSWORD_VERIFIER challenge to respond_to_auth_challenge
* fixed for python2
* added mfa, REFRESH_TOKEN to initiate_auth, SOFTWARE_TOKEN_MFA to respond_to_auth_challenge
* added negative tests
* test
2020-09-01 09:20:31 +01:00
Koichi Ogura
448ff45174
fix cognito-idp UserPool ClientId ( #3165 )
...
* fix cognito-idp UserPool ClientId
* add test
* replace uuid4 to create_id
2020-07-22 14:08:17 +01:00
cm-iwata
fdeee07762
Add basic implement for cognito-idp create_resource_server ( #3153 )
...
* Add basic implement for cognito-idp create_resource_server
* lint
2020-07-20 12:31:30 +01:00
Koichi Ogura
3e2a5e7ee8
fix #3133 Cognito Identity Provider : create_user_pool_client GenerateSecret=True
doesn't work ( #3135 )
...
* fix #3133 Cognito Identity Provider : create_user_pool_client
`GenerateSecret=True` doesn't work
* add test for update_user_pool_client
2020-07-16 09:13:12 +01:00
Steve Pulec
f061fbf6b9
Merge pull request #3081 from bblommers/cognitoidp_return_kid_header
...
CognitoIDP: Return kid header as part of respond_to_auth_challenge
2020-07-03 20:51:34 -05:00
Bert Blommers
8ff32bf4fa
Append region-info to UserAgent-header, if it already exists
2020-06-30 15:00:08 +01:00
Bert Blommers
f27e29e04d
Cognito - Dont run test in ServerMode
2020-06-20 12:48:10 +01:00
Bert Blommers
655b92a2a4
Simplify Cognito test - auto decode JSON
2020-06-20 11:05:06 +01:00
Bert Blommers
dd556a66c6
CognitoIDP - Return KID in headers of ID token
2020-06-20 10:43:02 +01:00
Bert Blommers
100dbd529f
Merge pull request #2742 from xnegativx/master
...
MessageAction for cognito admin_create_user is now handled
2020-02-18 13:41:02 +00:00
Jon Beilke
92fc39d7bb
add Arn to cognito user pool model and response
2020-02-17 15:08:09 -06:00
Antonin
fa3904df29
MessageAction for cognito admin_create_user is now handled
...
If an invitation is attempted to be reset to a pool we validate that the user is indeed already in the pool else we raise a UserNotFoundException to match AWS behaviour
2020-02-10 18:09:15 +01:00
Ivan Dromigny
d8d057711d
Change from black linter
2020-02-05 14:19:08 +01:00
Ivan Dromigny
8115dd2d1b
Add test
2020-02-05 12:03:33 +01:00
Franz See
db75c9e25c
moto/issues/2670 | Moved population of user attributes from accessToken to idToken
2020-01-15 23:33:09 +08:00
Franz See
a8e1a3bf08
moto/issues/2672 | Formatted using black
2020-01-06 13:29:23 +08:00
Franz See
68d882e6c0
moto/issues/2672 | Modified 'token_use' to return 'id' for an id token, and 'access' for an access token
2020-01-06 00:19:31 +08:00
Fabio Dias
743dd46399
black linting
2019-12-16 21:25:20 -05:00
Fabio Dias
fd9ac4b9a5
ACCOUNT_ID moved to moto.core, MOTO_ACCOUNT_ID env var override
2019-12-16 21:05:29 -05:00
Fabio Dias
b83a750630
Added references to moto.iam.models.ACCOUNT_ID instead of hardcoded id
2019-12-16 19:56:11 -05:00
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07:00
brodie.gallinger
ec99a6b827
Existing user now raises a UsernameExistsException
...
If a user is attempted to be added to a pool that already contains a user with that username, the UsernameExistsException is thrown, to match AWS behaviour.
2019-08-06 13:51:00 -03:00
Carlos Aguado
81980850d4
Implement update_user_pool_domain
...
Introduce the CognitoIDP's UpdateUserPoolDomain to update configuration
options of the associated domain to a Cognito IDP (e.g. ACM certificate).
2019-07-16 13:09:13 +10:00
Jordan
1de9acb7ad
Add cognito-idp admin_update_user_attributes #2184 ( #2185 )
2019-05-20 23:58:10 +01:00
Robert Jensen
9ed80f14e8
fix coverage, update IMPLEMENTATION_COVERAGE
2019-03-12 17:52:34 -04:00
Robert C Jensen
73bd3e1c77
[cognitoidp] feat: add update_identity_provider
2019-01-24 20:39:55 -05:00
Steve Pulec
a62f15b537
Merge pull request #1730 from garyd203/cognitoidp-groups
...
Implement groups for cognito-idp
2018-12-28 19:53:53 -05:00
George Alton
aa4be6fcad
Adds limiting/pagination to cognitoidp list_* functions
2018-10-24 15:56:20 +01:00
George Alton
2d2708cfd7
Missing users now raise a UserNotFoundException
...
A missing user in a cognito user pool has raises a UserNotFoundException,
not a ResourceNotFoundException. This commit corrects the behaviour so
that the correct exception is raised
2018-10-17 18:39:52 +01:00
Gary Donovan
1b42c7bf7a
Be able to change enabled
status for cognito-idp users
2018-10-17 11:28:24 +11:00
Gary Donovan
ffa7560d02
Implement user-group relationships for cognito-idp
2018-10-17 11:19:33 +11:00
Gary Donovan
04fdd5617a
Implement group management for cognito-idp
2018-10-17 11:19:33 +11:00
Steve Pulec
7b9bb15d28
Merge pull request #1756 from ferruvich/add_extra_attributes_in_token_payload
...
Add extra attributes in token payload
2018-10-15 01:02:07 -04:00
George Alton
d9577f9d3d
Ensures a UserPool Id starts like {region}_
2018-10-08 19:04:47 +01:00
Ferruvich
da76ea633b
Removed redundand line
2018-09-28 16:31:57 +02:00
Ferruvich
e69d2834e8
Removing failing test in order to check coverage and Travis test
2018-09-28 16:26:03 +02:00
Ferruvich
9adb7c818d
Added extra test
2018-09-28 16:26:03 +02:00
Ferruvich
ab8f4dd159
Testing new feature
2018-09-28 16:26:03 +02:00
jbergknoff-10e
e111cd1ff9
Implement some of cognito-idp
2018-05-07 09:38:04 -05:00