2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-09-05 16:55:16 +00:00
Commit Graph

13 Commits

Author SHA1 Message Date
Aravindh-Raju
c97465a4c9 add tests 2023-05-16 12:07:58 +05:30
Emerle, Ryan
744c65e064 Fix portal login redirect
With the release of `0.10.0` the redirect for OIDC authentication was not working.

- Re-enable redirect in `setOidcSession.scala.html`
- Add support for redirecting to requested page after login, rather than `/index`-purgatory
2021-12-20 11:55:32 -05:00
Emerle, Ryan
34edf0cd11 Fix portal login redirect
With the release of `0.10.0` the redirect for OIDC authentication was not working.

- Re-enable redirect in `setOidcSession.scala.html`
- Add support for redirecting to requested page after login, rather than `/index`-purgatory
2021-12-19 17:19:28 -05:00
Paul Cleary
ea7c77951c Upgrading scalafmt (#904)
* Upgrading scalafmt to 2.2.1
2019-11-11 13:11:41 -05:00
Paul Cleary
7777c01359 Refactor Portal Authentication (#808)
* Initial Refactor

Pulled out logic specific to auth mechanisms into separate traits.  Updated
constructors for Controllers to take new traits.

The crux of introducing pac4j is to abstract away the details of authentication.
Most of the concerns come into play with custom action building.  Abstracting
away the old OIDC code will pave the way for using pac4j OIDC

* Another refactor

The dependency injection caused issues with the old refactor.  This refactor was
proven by actually running the application.

* DRY out tests

* Fixing merge conflicts
2019-08-23 14:41:11 -04:00
Michael Ly
204a5f7346 Rename "batch change" to "DNS change" for portal/portal docs (#781)
* Replace batch change in portal.
* Update portal docs.
* Update routes for portal.
2019-08-07 12:18:17 -04:00
Britney Wright
c3b437b377 Change homepage from Zones to New Batch Change (#648) 2019-05-29 15:37:23 -04:00
Rebecca Star
d13b53a6be add more logging around oidc login (#502)
* add more logging around oidc login
2019-02-21 11:45:51 -05:00
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
Britney Wright
edfa4eda32 portal improvements (#476)
* portal improvements

* updates to locked out user flow
2019-02-06 15:48:31 -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
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
Paul James Cleary
f0726ecb37 Initial code release 2018-07-31 14:26:07 -04:00