README is empty
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am bradjlarson on github. | |
* I am b_rad (https://keybase.io/b_rad) on keybase. | |
* I have a public key whose fingerprint is 78B3 9840 9A71 F255 B184 E188 C9CB 3E34 0B2D 446A | |
To claim this, I am signing this object: |
This file contains 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
Verifying that +b_rad is my Bitcoin username. You can send me #bitcoin here: https://onename.io/b_rad |
README is empty
This file contains 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
var ClientRouter = Backbone.Router.extend({ | |
routes: { | |
'404': 'notfound', | |
'500': 'error', | |
'auth': 'auth', | |
'authCallback?oauth_token=:oauth_token&oauth_verifier=:oauth_verifier': 'authCallback', | |
'': 'defaultRoute' | |
}, | |
defaultRoute: function() { |
This file contains 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
var AUTH_URL = "https://api.glitch.com/oauth2/authorize?response_type=code&client_id=000yourclientid000&redirect_uri=http://yoursitehere/oauth/&scope=identity"; | |
var Auth_Router = Backbone.Router.extend({ | |
routes: { | |
"": "root", | |
"oauth/?code=:code": "auth" | |
}, | |
root: function () {}, | |
auth: function (code) { | |
Meteor.call('authenticate', code, function (error, result) { |