GlacieReiN

Tuesday, 9 February 2016


On my first official rest day last week, I tried to create a login system for my faculty's main student club. I failed many times, despite following every single one of these tutorials faithfully in turn.

Rails Authentication with OAuth 2.0 and OmniAuth
How To Configure Devise and OmniAuth for Your Rails Application
Google Integration Using Devise and Omniauth In Rails App

I managed to cook something up in the end; the ingredients of the login system:
  1. Devise (authentication and redirection)
  2. OmniAuth (integrate Google into Devise)
  3. Google Application (Google API)
  4. "User" model (but does not seem necessary because I am "outsourcing" the authentication to Google)
To be honest, I am still unclear about this login system.




I tried to erase the login form but I could only do it halfway. I blocked registration, recovery, and anything else that allows logging in through the form. Will update soon if there is any success.

Labels: , , , ,

0 comments | Leave a comment



GlacieReiN

2015/10/10

About Blog

Anything geeky or nerdy shall be here!

About Me

Currently at a loss for words

My LinkedIn

Programming Languages

(in descending order)
  1. Python
  2. Ruby
  3. Java
  4. JavaScript
  5. C#
  6. Everything Else

Web Development

(in arbitrary order)
  1. HTML
  2. CSS
  3. jQuery
  4. Bootstrap, Materialize
  5. Hugo
  6. Flask
  7. Ruby on Rails

Others

  1. Elasticsearch
  2. MongoDB
  3. Chef
  4. Ansible

The Hacks

2015

    January to June

  • DSO: Defusing the Binary Bomb
  • DSO: Dynamic Malware Analysis
  • NUS AY15/16 Semester 1

  • CS1101S Programming Methodology
  • CS1231 Discrete Structures
  • MA1101R Linear Algebra I
  • MA1521 Calculus for Computing
  • December

  • GitHub
  • NUSComputing.com
  • NUSBiZiT.org
2016


Contact Me



Affiliates

GlacieRaiN
ZongLong
BiZiT Society
NUS Wind Symphony

Organisations

NUS Computing Club
NUS Hackers


Archives

October 2015
November 2015
December 2015
January 2016
February 2016
March 2016
April 2016
May 2016
June 2016
August 2017
September 2017
October 2017


Advertisement



Credits