feat: Build Student Onboarding Workflow#600
Open
NewtonLC wants to merge 5 commits into
Open
Conversation
Fixed Join Page and added instructions for enabling permission on FreeCodeCamp Proper TODO: Implement 'Connect' button functionality. This requires Mrugesh's PR #66063 to be implemented. Currently, the Connect button just adds the user to the Classroom without verification.
Previously, when a user enters a join link for a classroom that does not exist, it would allow the user to enter the Join page and fail silently.
Now calls get-user-id endpoint in FreeCodeCamp Proper Disables Connect button upon successfully connecting to classroom Adds user to Classroom and adds user's FCC Proper ID to their account.
Contributor
|
I got an error saying that the TPA API error token was not the same. I added TPA_API_BEARER_TOKEN=local-test-secret-123 to the .env file in classroom and that fixed the error. You should probably include this in the instructions. Everything is working! |
Contributor
Author
|
I just updated the instructions. Thank you for taking a look at this! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist:
Update index.md)Closes #596
This PR fixes the Classroom Join Page and added instructions for enabling permission on FreeCodeCamp Proper.
Description
Here's a description of the Student Invitation / Onboarding from Start to Finish:
6a. If a student does not have an FCC Proper account, FCC Proper will ask them to sign in first.
How to test
These instructions will guide you on setting up a teacher and student account and onboarding the student into FreeCodeCamp Classroom.
Get 2 gmails, one to be a student and one to be a teacher.
Update FCC Proper - Use my branch: NewtonLC/freeCodeCamp at feat/classroom
.envwith all of the new variables insample.env. If needed, runcp sample.env .envand then re-do the FCC Proper AUTH0 variables. Then change the values for FCC_ENABLE_CLASSROOM to true and TPA_API_BEARER_TOKEN to local-test-secret-123. Set FCC_ENABLE_DEV_LOGIN_MODE to false.TPA_API_BEARER_TOKEN=local-test-secret-123to the.envfileWhat's Blocking this PR from fully working?
get-user-idendpoint, which is required for the "Connect" feature to work.