lizardsystem / lizard-auth-server

Django backend for the old SSO server
http://lizard-auth-server.readthedocs.io/
MIT License
2 stars 1 forks source link

Create an API endpoint for the AWS migration trigger #96

Closed caspervdw closed 3 years ago

caspervdw commented 4 years ago

We need a new endpoint that checks username/password against the local database only. (so not the AD)

In the response should be some details about the user (email, name) so that the complete profile can be migrated to AWS.

Also we want to record the migration in the SSO with a flag is_migrated on the model.

Further reading about the migration trigger:

https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-migrate-user.html#cognito-user-pools-lambda-trigger-syntax-user-migration

caspervdw commented 3 years ago

@lexvand Dit ticket blokkeerde https://github.com/nens/tf-cognito/pull/11, ik had nu goed in mijn hoofd wat ik wilde dus ik heb hem opgepakt.