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

suppurt OmniAuth2 #931

Merged
merged 1 commit into from
Feb 6, 2021
Merged

suppurt OmniAuth2 #931

merged 1 commit into from
Feb 6, 2021

Conversation

tdtds
Copy link
Member

@tdtds tdtds commented Feb 6, 2021

OmniAuth2をとりあえずサポートする。

一時的に OmniAuth.config.allowed_request_methods:get を指定することで従来の動作(GETメソッドによる認可処理)を指定している。ただしこれはCSRFのリスクがあるので推奨されない。最終的にはPOSTを使うようにすべきである。

* force useing GET method
* this is wrong implements for security
* fix to use POST in future
@tdtds tdtds temporarily deployed to tdiary-dev February 6, 2021 11:16 Inactive
@tdtds tdtds added the bug label Feb 6, 2021
@tdtds tdtds merged commit b322436 into master Feb 6, 2021
@tdtds tdtds deleted the update_omniauth2 branch February 6, 2021 12:28
@tdtds tdtds linked an issue Feb 6, 2021 that may be closed by this pull request
@tdtds
Copy link
Member Author

tdtds commented Feb 6, 2021

備忘録: POSTメソッドを使うIssue #932

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

Successfully merging this pull request may close these issues.

1 participant