gate icon indicating copy to clipboard operation
gate copied to clipboard

Results 9 gate issues
Sort by recently updated
recently updated
newest added

Just ran gofmt -w . on the project root. That's all. https://blog.golang.org/go-fmt-your-code --- > I made this PR with a project going on over at https://github.com/rotblauer/gofmt-att, and it's definitely a...

Hi typester, Recently golang.org/x/oauth2 and github.com/martini-contrib/oauth2 updated without compatibility. Now gate does not work latest dependent libraries. This PR will fix this issue. Changes: - change from golang.org/x/oauth2.Options to golang.org/x/oauth2.Config...

Add restrictions of at teams in github/organizations. github organizationのteamsで制限したかったので追加しました。

cookieのdomain以外の属性もconfigで設定できるようにする修正です。 path属性が指定されていないことが原因でredirect loopになってしまうのを防ぐことが目的です。 今はpath属性を付けないので、以下のようにリダイレクトループが発生してしまいます。 1. 「/foo/bar」にアクセスする際、認証がexpireしていたらcookieに保存された認証情報を削除する - このときcookieのpath属性が指定されていないので、ブラウザは「path=/foo」が指定されたと解釈する 2. 「/login」へリダイレクトしてログイン処理を行う 3. 認証完了後「/oauth2callback」へ戻ってきて、cookieに認証情報を追加する - ブラウザはcookieのpath属性に「path=/」が指定されたと解釈する 4. 「/foo/bar」へリダイレクトするがすぐに「/login」へリダイレクトしてしまいリダイレクトループに陥る - 「/oauth2callback」と「/foo/bar」でcookieのパス属性が異なるので、別物として扱われる - 「path=/」はログイン済みと認識されるが、「/foo」以下は未ログインとして認識されてしまう

At the moment, gate keeps holding the connection when the server closes a WebSocket connection through gate. Therefore, `onclose` of JavaScript's WebSocket object never gets called. To be honest, I'm...

gate で認証をかけている管理画面などで、権限のある人しか実行できない操作を実装したいので、認証したユーザーの情報を HTTP ヘッダーに追加し、プロキシ先のアプリケーションなどで取得できるようにしました。 とりあえず、提案という意味合いも含め、直近で使用したい Google の認証の方にだけ実装しています。 いかがでしょう…?

Due to httputil.ReverseProxy's buffering behavior, I have to wait before HTTP 1.1 Transfer-Encoding: chunked response to start being sent. Setting FlushInterval to httputil.ReverseProxy solves this issue. Hard-coding the flush interval...

This pull request requires martini-contrib/oauth#36. So it means this is early pull request, I'm not hurry to merge before martini-contrib/oauth#36 gets merged. - Added [Gomfile](https://github.com/rosylilly/gondler) to declare dependencies - Temporarily...

あんまりメインでは使わないのですが、確認時などにSSLのverifyを外せると楽な場合もあるので追加させていただけると助かります。 ``` auth: info: insecure: false ``` default falseでSSLのverifyを外したいときだけ明示的にinsecure: trueにして利用します。