72h Admin App - Replace Login Implementation

Register
Submit a solution
The challenge is finished.

Challenge Overview

Challenge Requirements

In this challenge we are going to enhance replace the login mechanism used by the admin app to make it consistent with the rest of the topcoder systems and remove some dependencies on some old appirio repos.

Here are the specific requirements:
1. The admin app should re-direct the user to accounts.topcoder.com for login with a retUrl to come back to the admin app after they are logged in, accounts.topcoder.com will set the cookies which contains the tokens that need to be used in the admin app (check for the forum for a sample cookie). Please make this link configurable in config.json since different environments may use different  urls. For example: the dev environment will redirect the user to accounts.topcoder-dev.com for login.

2. In order to properly test this locally, you may have to provide a mock implementation of the login page that mimics the behavior of the accounts.topcoder.com page.

3. You need to remove everything that's no longer used by the admin app, to name a few examples:
- some configurable values in config.json
- some dependencies like appirio-tech-ng-auth that are required by old login
There might be other places that need to be cleaned up too, please carefully examine the code.

4. You need to make sure after we replace the login mechanism, the admin-app still functions as before.

It's important that your submission works properly with the real environment, copilot will work with the winner to make sure the winning submission meets the requirement before it can pass final review.

Technologies

- Node.js
- Angular.js
- HTML
- Elasticsearch
- Docker
- Java



Final Submission Guidelines

Submission

- Updated admin-app code with all the requirements covered and the mock login page code (if needed).
- A detailed deployment guide explaining how to run and test your submission with some meaningful data.

 

 

ELIGIBLE EVENTS:

2017 TopCoder(R) Open

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30057836