2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-28 21:07:46 +00:00

5 Commits

Author SHA1 Message Date
Rebecca Star
c5c5bccfa9
Support openID connect for login (#488)
* Support openID connect for login

* Add tests on oidc
2019-02-19 11:34:45 -05:00
Rebecca Star
4a442789e3
portal health endpoint (#375)
* portal health endpoint
2018-12-03 16:54:59 -05:00
Britney Wright
f58748e454
Portal lock users and check lock status
* Create custom action for loading user account

* implement user locked status check

* refactor VinylDNSSpec

* code coverage modifications
2018-10-02 11:04:34 -04:00
Paul Cleary
2e172a94bc
Fix authentication error in the portal (#220)
The root cause for the authentication error is that the portal
was not decrypting the user secret key before signing requests.

This is solved via the following:

1. Update VinylDNS controller to decrypt user secret when needed
1. Make sure that the `encrypt-user-secrets` feature flag is `on`
in the API reference.conf.  This was why in testing locally we
did not hit the same issue that we saw in the development environment.
Because the flag was false, test users secrets were not encrypted.

* `portal application.conf` - set the crypto to match the API
* `Dependencies.scala` - eliminate some duplication of dependencies
* `api reference.conf` - set the encrypt-user-secrets flag to true
* `TestApplicationData.scala` - modify the mock play app to have a
CryptoAlgebra binding
* `VinylDNS` - add secret decryption in getUserCreds and processCSV
* `VinylDNSModule` - add binding for CryptoAlgebra for dependency
injection.
2018-09-19 10:47:51 -04:00
Paul Cleary
0f2fdc9c7b
Replace the repos in the portal with dynamodb and core (#206)
Replace the repos in the portal with dynamodb and core

* Remove all data stores from the portal
* Use the user and user change repository from core and dynamodb
* Remove the UserAccount type, use core User instead
* Remove the UserChangeLog types, use core UserChange instead
* Clean up duplication in VinylDNS
* Moved `Module` to `modules.VinylDNSModule`.  The reason is that
you cannot disable the "default" module for unit tests.
* Use mock configuration for VinylDNSSpec and FrontendControllerSpec.
The mock app configuration is what allows us to run without dynamodb
* Added a TestApplicationData trait to cut down on duplication
2018-09-18 11:51:31 -04:00