Federated Identity Lab Reflection - jwells24/Tech-Journal GitHub Wiki
Federated Identity Lab Reflection
-
During the federated identity lab, our objectives were to create Oauth applications in Github, then use a python virtual environment to create a Flask application that would authorize using our github Oauth App. The basic steps we took for this lab started with the creation of the github Oauth application, which is done in the developer settings in github. Once we have an oauth app, we move to our ubuntu box and install the dependencies necessary for python virtual environment. Once this was done, we created our python web app and a json file to read credentials from. Now that our webapp was created, we started the virtual environment and ran our Flask web application there. Once the application was running, we could navigate to it in a browser and authorize our github account.
-
Some things that I found slightly difficult in this lab was a few details when porting our Flask application from xubuntu-wan to our AWS ubuntu instance. Specifically, some things that needed to change in the Oauth github application was changing the web application hostname and callback address from localhost to the public IP address of our amazon address. With that done, all we had to do was remake the virtual environment and flask application on our AWS instance, and then we were able to access the public IP of the box at port 5000 in order to authorize with our github application. Besides that, I didn't have much difficulty with this lab. This was my first experience with federated identity, and I understand more how it works.