Skip to content

Commit

Permalink
*: replace references to github.com/bitly
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen committed Oct 27, 2018
1 parent d400c0c commit d55f7c6
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 20 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ oauth2_proxy
A reverse proxy and static file server that provides authentication using Providers (Google, GitHub, and others)
to validate accounts by email, domain or group.

[![Build Status](https://secure.travis-ci.org/bitly/oauth2_proxy.svg?branch=master)](http://travis-ci.org/bitly/oauth2_proxy)
[![Build Status](https://secure.travis-ci.org/samsarahq/oauth2_proxy.svg?branch=master)](http://travis-ci.org/samsarahq/oauth2_proxy)


![Sign In Page](https://cloud.githubusercontent.com/assets/45028/4970624/7feb7dd8-6886-11e4-93e0-c9904af44ea8.png)
Expand All @@ -15,7 +15,7 @@ to validate accounts by email, domain or group.

## Installation

1. Download [Prebuilt Binary](https://github.com/bitly/oauth2_proxy/releases) (current release is `v2.2`) or build with `$ go get github.com/bitly/oauth2_proxy` which will put the binary in `$GOROOT/bin`
1. Download [Prebuilt Binary](https://github.com/samsarahq/oauth2_proxy/releases) (current release is `v2.2`) or build with `$ go get github.com/samsarahq/oauth2_proxy` which will put the binary in `$GOROOT/bin`
Prebuilt binaries can be validated by extracting the file and verifying it against the `sha256sum.txt` checksum file provided for each release starting with version `v2.3`.
```
sha256sum -c sha256sum.txt 2>&1 | grep OK
Expand Down
6 changes: 3 additions & 3 deletions contrib/oauth2_proxy.cfg.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## OAuth2 Proxy Config File
## https://github.com/bitly/oauth2_proxy
## https://github.com/samsarahq/oauth2_proxy

## <addr>:<port> to listen on for HTTP/HTTPS clients
# http_address = "127.0.0.1:4180"
Expand All @@ -26,7 +26,7 @@
# pass_user_headers = true
## pass the request Host Header to upstream
## when disabled the upstream Host is used as the Host Header
# pass_host_header = true
# pass_host_header = true

## Email Domains to allow authentication for (this authorizes any email on this domain)
## for more granular authorization use `authenticated_emails_file`
Expand Down Expand Up @@ -67,7 +67,7 @@
## Expire - (duration) expire timeframe for cookie
## Refresh - (duration) refresh the cookie when duration has elapsed after cookie was initially set.
## Should be less than cookie_expire; set to 0 to disable.
## On refresh, OAuth token is re-validated.
## On refresh, OAuth token is re-validated.
## (ie: 1h means tokens are refreshed on request 1hr+ after it was set)
## Secure - secure cookies are only sent by the browser of a HTTPS connection (recommended)
## HttpOnly - httponly cookies are not readable by javascript (recommended)
Expand Down
4 changes: 2 additions & 2 deletions oauthproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import (
"strings"
"time"

"github.com/bitly/oauth2_proxy/cookie"
"github.com/bitly/oauth2_proxy/providers"
"github.com/gorilla/websocket"
"github.com/koding/websocketproxy"
"github.com/mbland/hmacauth"
"github.com/samsarahq/oauth2_proxy/cookie"
"github.com/samsarahq/oauth2_proxy/providers"
)

const SignatureHeader = "GAP-Signature"
Expand Down
2 changes: 1 addition & 1 deletion oauthproxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"testing"
"time"

"github.com/bitly/oauth2_proxy/providers"
"github.com/mbland/hmacauth"
"github.com/samsarahq/oauth2_proxy/providers"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion options.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
"strings"
"time"

"github.com/bitly/oauth2_proxy/providers"
oidc "github.com/coreos/go-oidc"
"github.com/mbland/hmacauth"
"github.com/samsarahq/oauth2_proxy/providers"
)

// Configuration Options that can be set by Command Line Flag, or Config File
Expand Down
5 changes: 3 additions & 2 deletions providers/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ package providers
import (
"errors"
"fmt"
"github.com/bitly/go-simplejson"
"github.com/bitly/oauth2_proxy/api"
"log"
"net/http"
"net/url"

"github.com/bitly/go-simplejson"
"github.com/samsarahq/oauth2_proxy/api"
)

type AzureProvider struct {
Expand Down
2 changes: 1 addition & 1 deletion providers/facebook.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"net/url"

"github.com/bitly/oauth2_proxy/api"
"github.com/samsarahq/oauth2_proxy/api"
)

type FacebookProvider struct {
Expand Down
2 changes: 1 addition & 1 deletion providers/gitlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"net/url"

"github.com/bitly/oauth2_proxy/api"
"github.com/samsarahq/oauth2_proxy/api"
)

type GitLabProvider struct {
Expand Down
2 changes: 1 addition & 1 deletion providers/internal_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"net/url"

"github.com/bitly/oauth2_proxy/api"
"github.com/samsarahq/oauth2_proxy/api"
)

// stripToken is a helper function to obfuscate "access_token"
Expand Down
2 changes: 1 addition & 1 deletion providers/linkedin.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"net/url"

"github.com/bitly/oauth2_proxy/api"
"github.com/samsarahq/oauth2_proxy/api"
)

type LinkedInProvider struct {
Expand Down
2 changes: 1 addition & 1 deletion providers/provider_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"net/http"
"net/url"

"github.com/bitly/oauth2_proxy/cookie"
"github.com/samsarahq/oauth2_proxy/cookie"
)

func (p *ProviderData) Redeem(redirectURL, code string) (s *SessionState, err error) {
Expand Down
2 changes: 1 addition & 1 deletion providers/providers.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package providers

import (
"github.com/bitly/oauth2_proxy/cookie"
"github.com/samsarahq/oauth2_proxy/cookie"
)

type Provider interface {
Expand Down
2 changes: 1 addition & 1 deletion providers/session_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"time"

"github.com/bitly/oauth2_proxy/cookie"
"github.com/samsarahq/oauth2_proxy/cookie"
)

type SessionState struct {
Expand Down
2 changes: 1 addition & 1 deletion providers/session_state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"github.com/bitly/oauth2_proxy/cookie"
"github.com/samsarahq/oauth2_proxy/cookie"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func getTemplates() *template.Template {
<footer>
{{ if eq .Footer "-" }}
{{ else if eq .Footer ""}}
Secured with <a href="https://github.com/bitly/oauth2_proxy#oauth2_proxy">OAuth2 Proxy</a> version {{.Version}}
Secured with <a href="https://github.com/samsarahq/oauth2_proxy#oauth2_proxy">OAuth2 Proxy</a> version {{.Version}}
{{ else }}
{{.Footer}}
{{ end }}
Expand Down

0 comments on commit d55f7c6

Please sign in to comment.