Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add authenticated user info to HTTP header #7

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Add authenticated user info to HTTP header #7

wants to merge 6 commits into from

Conversation

m0t0k1ch1
Copy link

gate で認証をかけている管理画面などで、権限のある人しか実行できない操作を実装したいので、認証したユーザーの情報を HTTP ヘッダーに追加し、プロキシ先のアプリケーションなどで取得できるようにしました。

とりあえず、提案という意味合いも含め、直近で使用したい Google の認証の方にだけ実装しています。

いかがでしょう…?

@m0t0k1ch1 m0t0k1ch1 changed the title 認証したユーザーの情報を HTTP ヘッダーに追加する Add authenticated user info to HTTP header Oct 14, 2014
@typester
Copy link
Owner

typester commented Nov 5, 2014

@m0t0k1ch1 この機能、デフォルトではなにも送信しないように変更して取り込もうと思いますが、それで大丈夫でしょうか?

@m0t0k1ch1
Copy link
Author

それで大丈夫です!ありがとうございます

@m0t0k1ch1
Copy link
Author

あ、、放置してましたがなおします…!

@sumipan
Copy link

sumipan commented Dec 23, 2014

@m0t0k1ch1 はよ

@handlename
Copy link

+1

@m0t0k1ch1
Copy link
Author

@typester 修正しました。よろしくお願いします!:bow:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants