-
Notifications
You must be signed in to change notification settings - Fork 7
OAuth #628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
however the authentication still will not work
…ger used. Updated documentation
…ode and secure http cookie
Maillman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! I was able to run the autograder locally, and everything is working as it should! There are a couple of minor things I've noticed, and some suggestions for some parts of the code. But overall, this looks great!
Thanks, Makenna!!!
src/test/java/edu/byu/cs/service/AuthenticationServiceTests.java
Outdated
Show resolved
Hide resolved
|
Thank you for the feedback @Maillman! Glad you were able to get it going. Do you have any complaints about the process of getting running on your machine? |
|
@mewilker I don't have any personal complaints about getting it set up. The process felt pretty smooth for me! |
TheDavSmasher
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've already suggested everything I could see and think of so looks good to me
Overview
This PR is an overhall of the authentication. Currently, we use CAS protocol to redirect students to the BYU sign-in. This change will use OAuth to authenticate and grab an identity token.
Details
Testing
Future Work
In order to reduce the number of changes to the code, the autograder will still make it's own tokens to call the authenticated endpoints. However, it may be a good idea to refactor and rely completely on the BYU granted tokens.
Additional Notes
Please ensure that you can use the new setup. I made big changes to the code here, and I want to make sure new devs can follow the instructions. Please comment if you feel there are additions to the documentation that would be helpful. I will not go through all the specifics: there is BYU documentation for that.
I have notifications for this change to go live on January 27th. Please try to have your feedback in before then.