The GLIB-Chrome-Ext challenges are a set of challenges where we will be building out a chrome extension that inserts a button onto various vendor (Github, Gitlab, Jira, etc) sites in order to launch a new Topcoder challenge(s). This challenge will be removing the replacing the current topcoder token retrieval with an updated endpoint that uses and implicit grant.
Requirements:
Remove the current Topcoder token retrieval code.
Add functionality for retrieving a Topcoder token using the implicit grant Topcoder service. The client_id etc will be added to the forum. Note that it uses a callback url so you will need to add a listener in the background script for handling the callback and storing the information related to the returned JWT token.
Parse the returned JWT token and save the details into chrome storage.
Update the extension to check the expiration date on the token prior to using it and refresh it if necessary.
Setup & Reference:
Use dev mode when working on the extension locally. This is configured in the options of the extension.
See the README for details around running the extension locally.
For dev mode you are able to enter any value for the project id when prompted.
The calls to topcoder endpoints will fail with the new token. This is expected. We will update the extension to use new endpoints in future challenges. For this challenge you only need to demonstrate that you have stored the token and that it is refreshed when the expiration time is passed.
Feel free to add JWT processing module to the project.
Submissions:
Upload documentation for how to run your submission
A video of your working solution is required
Upload all your source code as a zip for review
Winner will be required to submit a pull request with their winning code.
Description:
The GLIB-Chrome-Ext challenges are a set of challenges where we will be building out a chrome extension that inserts a button onto various vendor (Github, Gitlab, Jira, etc) sites in order to launch a new Topcoder challenge(s). This challenge will be removing the replacing the current topcoder token retrieval with an updated endpoint that uses and implicit grant.
Requirements:
Setup & Reference:
Submissions: