Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/sahat/satellizer

Token-based AngularJS Authentication
https://github.com/sahat/satellizer

added exchangeForToken method to OAuth1 function

d6e036e4025fae0cbbc075499993b41be2ce567f authored over 10 years ago
exchangeForToken method refactoring

c1eb9659f16bca59082bbce578b09d322e5ab0c8 authored over 10 years ago
camelCase is now a function on its own instead of a popup method

a218f6586ba9854318f7b37d7c4f8f569e297449 authored over 10 years ago
postMessageHandler refactoring

b27d71f78fd5738b7a342344d62117e70a423b47 authored over 10 years ago
refactored querystring parser after self-redirect: send code or oauth_token object from popup

62b5ffa7b7e4f1604987132fbad2804ee9be061a authored over 10 years ago
parseQuery string is now a function on its own rather than a method

5544e4f2aa354b57c6a5f3047cf827ee1b349e42 authored over 10 years ago
refactored twitter auth route

49b1623f0ff4b68631dd742862f164daa219cf9b authored over 10 years ago
fixed logout issue

isAuthenticated returns boolean instead of object

4df255ae2f648ee2fac2e33940d1fb9a33322fce authored over 10 years ago
updated static assets path to include lib folder

186165df3c98e7ca6b809a70078162ae8bb702d8 authored over 10 years ago
moved angular-auth.js to lib folder

e0ff9d771cea2cdbcd42e8ed0cb9f1c18287b76d authored over 10 years ago
renamed examples folder to demo, node to node.js

1cb6308e8089571a66ba58345d8d62737fa5ef9c authored over 10 years ago
removed createProvider function, call one-line of code directly from open()

6b66250f4a354e555c3251cbca0709d99b4cd30a authored over 10 years ago
set default width and height popup options for facebook

3068c8e8f8bbe13c53ce52ae14582b25623e517b authored over 10 years ago
removed keys param, options is now second parameter to Popup.open

c732bd2a50037eca8c2e84e61f2563056be4486b authored over 10 years ago
explicitly specify Oauth2 protocol on google, facebook, linkedin

ca52ca18049b4d3963bfa5e10012f479bcf9355c authored over 10 years ago
providers redirect_uri default to window.location.origin

4a9bedb299c941fecc7195b8a6eb936ad53be124 authored over 10 years ago
code cleanup

b9684162c7f8941aa174426dd32ac241d154cc4e authored over 10 years ago
added or separator between local login and oauth login

6f099ac06eea9ee9f241527c991389c278b5474f authored over 10 years ago
look for token querystring, if token then sign-in right away, otherwise if code use oath2 flow

21dafbd8eb21f0b3ff070ffb2e61ef7d89b289cb authored over 10 years ago
createPostMessageHandler checks if it's the same origin or not before resolving the promise

57a5213c79125f09461e65179014a6ce3d00ef17 authored over 10 years ago
implemented twitter oauth 1.0 flow on server-side

194ffeb6989d178ba02f170ac91d57dfb4acc89e authored over 10 years ago
added twitter provider (partial support)

28ba61662eb4415723dab2c120132cd0978f2706 authored over 10 years ago
pass type (Oauth1 or Oauth2) to providers and then use corresponding class based on that

80205f0f5864fb7d771d353b8b77b768cdd7cf81 authored over 10 years ago
removed loginOauth function (use authenticate)

71a394603dd25fa4117ebc95dc0946be384dd8a7 authored over 10 years ago
removed method requestAuthorization

5e09e2dc193282690369a959877d468ab1005a2b authored over 10 years ago
pollPopup refactoring

c993e84a2e64afff0b0953aa8d81007f32f1e203 authored over 10 years ago
removed unnecessary res.send()

5f4cf259ce9a0dde4d7d8b5c36a0d671c5917f5f authored over 10 years ago
fetch linkedin access_token and profile information on server

5f9091e2ac4984508cd77aae5151b417cf49e2cf authored over 10 years ago
fixed linkedin authentication by using correct server url and clientId

4ee7ca5218bf85f09de9ec376229b55e3c019707 authored over 10 years ago
encodeURIComponent query string params

53b5da26f7a8a4e4911cee4a539d93e5b53fc3be authored over 10 years ago
get facebook profile info after obtaining access_token

b20fc13373fee4cb9073d88f753b1752d7cc4ebb authored over 10 years ago
add missing $Location dependency

03d2c23ffbe1acb95e25ed0a99b5389e5fb9bb17 authored over 10 years ago
check if window.opener is present before trying to postMessage code

f24d59b8442addd25a3c40e31aa07bbb6d165827 authored over 10 years ago
instead of polling check for code param on app startup and then postMessage if code param is present

93c8f6c57acced1e05d5d4fd63eaf9d1c658e261 authored over 10 years ago
google auth refactoring

e7ac829a66ed4f27c55369981ce3a6dfa0fe45a2 authored over 10 years ago
implemented google openid connect flow on the backend

154f926d6018de4729b41b6316cb729c0cc3cb3f authored over 10 years ago
server code cleanup

804a4a47162a16d102528fd06ccaa54d80e7a1dd authored over 10 years ago
fixed google access_token request: pass POST params instead of querystring

7fbcc651c416942b6d43ab1c50aedc9c480fefc4 authored over 10 years ago
code cleanup

8cac790d2685b4537ca7ae7b0a4696f54787cdde authored over 10 years ago
unescape querystring params to avoid breaking code string

fa710104b84a0aa652693f3c41a3d314cbcaef5b authored over 10 years ago
added google route for obtaining access token

c2a4a72aa73540efc0699b3b0d9c8fa2bb45f440 authored over 10 years ago
angular.extend oauth2 object during initialization

ecf480ec98de0bd9ba386c29f38f8eb1f6923c58 authored over 10 years ago
oauth2 default params are now a separate property and there is a seprate for loop to construct a querystring

c04ff458f54f34a0d29c321105efa14972868fb5 authored over 10 years ago
updated google provider configuration

e11036d61ad457c306fc6243f54fe9579036e0fa authored over 10 years ago
code refactoring

0427a72d247b5fba8776b7aa22ac56359c321c1b authored over 10 years ago
added default configuration options for google and linkedin

2747d4dd15f1cdad87c8caa607ec2b18a53b698d authored over 10 years ago
removed oauthKeys no longer needed

9f325392487836ef6442310093d8fc3a80d09c73 authored over 10 years ago
pass accessToken from authenticate to the next promise chain

720d3d09a08160b6810ce5b3bdb0ca7c26f28d67 authored over 10 years ago
set redirectUri on facebook provider as part of default config

01882e0a0a5b67a543386e0128c33fff1ab40a58 authored over 10 years ago
added helper camelCase function to convert param names from from underscore to camelcase

559f3583dbddee5fddcd46e2ebb94fca054e5c12 authored over 10 years ago
use requiredUrlParams directly from the object instead of passing to buildQueryString()

4508e7c50a7a3cb1ab511e8d3810d59944854ad6 authored over 10 years ago
concatenate passed urlParams with default urLParams

bbc377ff8083dda214bed3e882e5fdc1cb30f15b authored over 10 years ago
specify requiredUrlParams on providers config as a array of strings instead of an object

1820fe20a71015a6e8c9173ddbf507831d9c8a28 authored over 10 years ago
refactored buildQuerString method, it now accepts two arrays as params and returnd querystring

2d2dead605fcac690ee73625d683e81202b83c98 authored over 10 years ago
project cleanup

0c75d58a793f8c89257f934969c11af6c85d636a authored over 10 years ago
fixed promise chain

51b15825bcf76f451be2c5c8d1d4747cdb90fd8c authored over 10 years ago
response with access_token after veryifying code

239aa90cd29b2045fb80271d3d2a705f9ccf1bf6 authored over 10 years ago
Oauth2.open code refactoring

9ae603e45d7b6bf23d0c724cb790cb4fc77c9e31 authored over 10 years ago
wrapped all code with IIFE and 'use strict';

55145981f05040c405233b666abc40fb3fdf63bf authored over 10 years ago
send a POST request to /auth/facebook (temp) with code to obtain token

1766e95eac2d5d7fe9c21f117e98d86efb93a109 authored over 10 years ago
popup.open() returns a promise after authorization code is received

1d79a24350995273d59fac30b6453284c2f09902 authored over 10 years ago
pass authorization code directly as a string instead of an object

d2df1c4f7577255e13e38ff7b0507570b369fb30 authored over 10 years ago
requestAuthorization code function refactoring

5ecd73ba6acbf803bbfa842aeadebd57d165dee6 authored over 10 years ago
refactored polling interval into a separate function; return promise when popup is closed

a5d80f474813f8d415b5f46aec07bb6d236629db authored over 10 years ago
code refactoring: created a function for adding a postMessage event listener

268bb1e787584bddb47ca8710b38c4a26d42f101 authored over 10 years ago
Popup code refactoring

1cc53f42fc6dd0cc8677604e1a5ebdce8d0ba25f authored over 10 years ago
refactored postMessage handler into a separate prototype function on Popup class

8b618aa71a0981872fb7d3f435383209abee938d authored over 10 years ago
use angular.bind to bind this to $interval

43f71e2437f034baaef83048b42f4c053b1c6e8b authored over 10 years ago
navbar style update

0552b3dad94301750e00a08212cede3d2f5b7ef6 authored over 10 years ago
instead of verifying access_token on the server-side use GET request to obtain access_token from the server through authorization code

6633ad2380f1feee6cca0009d0e34fd32770c623 authored over 10 years ago
added dummy ssl certificate

cf3a8174136381fbde6981fec884ac0b4a8fb16d authored over 10 years ago
instead of verifying token on server-side, receive code from client and retrieve access token from facebook directly

81668fa29ea2a715eebaf5bd61803213c3de681f authored over 10 years ago
added authorization urls

bb72112f59f095b53e43429b8bade658d747f331 authored over 10 years ago
updated baseUrl to authorizationUrl

7643fcf94cfd1f2af67b6405f331ff07a332d5fc authored over 10 years ago
redirect_uri uses $window.location.origin instead of $window.location.href

aaab5aefbd20144f177cccd8ea715d1f9df78165 authored over 10 years ago
promisified authenticate

8abab50cbacf33330b70b770664862f5f43f4c8f authored over 10 years ago
providerLookup moved to OAuth2 function constructor

ffc60dff0fec2817d2466e1a6ea5335fa0ce8cec authored over 10 years ago
postMessage back to the parent window and instead of using wildcard *, send message only to the original source, e.g. localhost:3000

3663bb9d0b1a8f149925f3b9fd283be2e102bbe8 authored over 10 years ago
move popup methods to Popup.prototype

b8c66c3dd79184f5dd751ac8a2deb11fc0d1db21 authored over 10 years ago
Split OAuth2 methods into prototypes

3137ac68c05d924e9c76b9861e2c457256940a50 authored over 10 years ago
oauth2 is now also a function constructor

5a202e7e6721ac2d7ac48877ac9684f3c266752e authored over 10 years ago
use angular $interval to poll for code or token and then clear it once token/code is obtained

28f94b177fb039b59508442d1d4f4acd5c1fa0c3 authored over 10 years ago
popup is now a constructor function instead of an object

18606e32a94dd8e843c15dff89e09570572c1e22 authored over 10 years ago
successfully obtained code via oauth2 facebook

8228fb33697dd6a20aa24eeab40fec258c941cab authored over 10 years ago
fixed popup baseurl

cf51c3725f4b052d386a92419f92f3a5f49043cf authored over 10 years ago
removed third-party sdks

added providerLookup function

0d6315441068eaea067f2fb3f44513e1fe72b86d authored over 10 years ago
fixed an issue where facebook's requiredUrlParams would override OAuth2 default params

cd4b769c5d51f858e969c26d4be81acd685d0f39 authored over 10 years ago
requiredUrlParams is now an object instead of a function so it can easily be extended

bc3ecc34520b0a079f015549f658ed50e29d4b40 authored over 10 years ago
created addProvider method that replaces setProvider and hardcoded provider names such as facebook or google

0a166dbffaf4450acb2f0be7f23873bdeb9d0319 authored over 10 years ago
add authenticate function

13fa42944fb6219e9107c68b88ccfab9a7c244f1 authored over 10 years ago
addd popup object and facebook factory

f364668a4e9f989e71e5a0fdfd4c728c0bc2900e authored over 10 years ago
add oauth2 functions to buildUrl from querystring

2c2c182e357950d5643124e106ef40f9601f7b3c authored over 10 years ago
add oauth2 factory

1a49b15d444d90c451e60f951be16b37433534f5 authored over 10 years ago
code reorganization

a013d0165e4d42b5507fd4858c6836eada34d4d7 authored over 10 years ago
Use SSL connection by default

fc2c4b11dca83bfc973746c4595882237be67fa2 authored over 10 years ago
Moved config into a separate angular constant service

ab83146c4668ee96581f3649f0daf5e06d70809a authored over 10 years ago
Fixed navbar collapse issue

707422ae9e2e0bb7750993e713e97619556b26a4 authored over 10 years ago
let user choose what the name of global user variable be, i.e. not fixed to currentUser

9babb82ffb78f63b44309c8e1b6f5b34d4dc9d19 authored over 10 years ago
return login status by calling Auth.isAuthenticated

ca7b485be367c9d261cb2d64b225cc8867161527 authored over 10 years ago
Fetch user's data when authorized with linkedin

dbe474536e1e3660a177afeb085ccb06f3b99417 authored over 10 years ago