This microservice is part of Agent Services local testing framework, providing necessary UI stubs complementing API stubs in agents-external-stubs.
This app SHOULD NOT be run on QA nor Production environment.
To handle requests aimed at stubbed frontend microservices we provide necessary TCP proxies:
- listening on 9025 for company-auth-frontend requests
You can switch this behaviour off by setting proxies.start
config property to false
.
Every stubbed user and other data live is some test sandbox (planet). You have to declare existing or a new planet whenever you sign-in. Each authenticated session have planetId information. Stubbed and custom UIs will consider only users and data assigned to the current planet.
User authentication expires after 15 minutes and so does the bearer token. All users and other data on each planet are removed after 12h unless marked as permanent.
Shows login page.
Submits user's credentials, creates session and redirects to the provided continue URL
GET /mdtp/uplift?origin=:origin&confidenceLevel=:confidenceLevel&completionURL=:completionURL&failureURL=:failureURL
Shows an identity verification page for the IV "uplift" journey, offering the choice of either a successful or unsuccessful IV journey outcome.
POST /mdtp/uplift?origin=:origin&confidenceLevel=:confidenceLevel&completionURL=:completionURL&failureURL=:failureURL
Submits the desired outcome of the identity verification "uplift" journey. If a successful outcome was chosen, this will increase the confidence level of the current user to the provided confidence level and redirect to the provided completion URL. If an unsuccessful outcome was chosen, this will just redirect to the provided failure URL.
Shows current user auth settings
Displays form to edit current user auth settings
Submits amended user auth settings
sbt test it:test
sbt clean coverageOn test it:test coverageReport
sm --start AGENTS_EXTERNAL_STUBS_FRONTEND -f
or
sbt run
It should then be listening on ports 9099 and 9025
browse http://localhost:9099/
This code is open source software licensed under the Apache 2.0 License