Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Simple OAuth integration in development mode #2

Merged
merged 1 commit into from Jun 26, 2012

Conversation

Projects
None yet
2 participants
Contributor

murbanski commented Jun 26, 2012

Setting this up was pain in the ass. Fortunately http://lvh.me comes to the rescue:

➜  pull_panel git:(master) nslookup lvh.me 
Server:         188.121.31.200
Address:        188.121.31.200#53

Non-authoritative answer:
Name:   lvh.me
Address: 127.0.0.1
- (session/put! :token token)
- (session/flash-put! (str "Set token to " token) )
- (resp/redirect "/"))
-
@murbanski

murbanski Jun 26, 2012

Contributor

We actually don't need this anymore.

@jsl

jsl Jun 26, 2012

Owner

Awesome, glad to get rid of it!

@@ -15,6 +16,10 @@
(session/flash-put! (str "Deleted repo " user "/" repo) )
(resp/redirect "/"))
+(defn github-auth-callback-host []
@murbanski

murbanski Jun 26, 2012

Contributor

Can you find a better name for this? I'm not sure if it's the best one...

Owner

jsl commented Jun 26, 2012

Thanks @murbanski !

jsl added a commit that referenced this pull request Jun 26, 2012

Merge pull request #2 from murbanski/master
Simple OAuth integration in development mode

@jsl jsl merged commit 4ee8cb0 into stackbuilders:master Jun 26, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment