+0900 (1.0ms) SELECT sqlite_version(*) (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Processing by BooksController#index as HTML Completed 401 Unauthorized in 15ms (ActiveRecord: 0.0ms | Allocations: 2096) Started GET "/users/sign_in" for ::1 at 2021-03-24 11:34:28 +0900 5JNF4UBNQ .FUIPE 3FTVMU
+0900 I, [2021-03-05T10:30:39.445975 #78131] INFO -- omniauth: (github) Request phase initiated. Started GET "/users/auth/github/callback?code=xxx&state=xxx" for ::1 at 2021-03-05 10:30:39 +0900 I, [2021-03-05T10:30:39.860370 #78131] INFO -- omniauth: (github) Callback phase initiated. E, [2021-03-05T10:30:40.842629 #78131] ERROR -- omniauth: (github) Authentication failure! invalid_credentials: OAuth2::Error, : {"message":"Resource not accessible by integration","documentation_url":"https:// docs.github.com/rest/reference/users#list-email-addresses-for-the-authenticated-user"} Processing by Users::OmniauthCallbacksController#failure as HTML Parameters: {"code"=>”xxx”, "state"=>”xxx”} Redirected to http://localhost:3000/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 205)
failure! invalid_credentials: OAuth2::Error, : {"message":"Resource not accessible by integration","documentation_url":"https://docs.github.com/rest/ reference/users#list-email-addresses-for-the-authenticated-user"} … Redirected to http://localhost:3000/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 205) ͜͜ͰΤϥʔൃੜɻෆ۩߹ͷώϯτzJOWBMJE@DSFEFOUJBMTz
10:30:39 +0900 I, [2021-03-05T10:30:39.445975 #78131] INFO -- omniauth: (github) Request phase initiated. Started GET "/users/auth/github/callback?code=xxx&state=xxx" for ::1 at 2021-03-05 10:30:39 +0900 I, [2021-03-05T10:30:39.860370 #78131] INFO -- omniauth: (github) Callback phase initiated. E, [2021-03-05T10:30:40.842629 #78131] ERROR -- omniauth: (github) Authentication failure! invalid_credentials: OAuth2::Error, : {"message":"Resource not accessible by integration","documentation_url":"https://docs.github.com/rest/reference/users#list-email-addresses-for-the- authenticated-user"} Processing by Users::OmniauthCallbacksController#failure as HTML Parameters: {"code"=>”xxx”, "state"=>”xxx”} Redirected to http://localhost:3000/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 205) Started POST "/users/auth/github" for ::1 at 2021-03-05 10:46:03 +0900 I, [2021-03-05T10:46:03.756773 #78764] INFO -- omniauth: (github) Request phase initiated. Started GET "/users/auth/github/callback?code=xxx&state=xxx" for ::1 at 2021-03-05 10:46:04 +0900 I, [2021-03-05T10:46:04.210471 #78764] INFO -- omniauth: (github) Callback phase initiated. E, [2021-03-05T10:46:04.593857 #78764] ERROR -- omniauth: (github) Authentication failure! invalid_credentials: OAuth2::Error, access_token=xxx&scope=user%3Aemail&token_type=bearer Processing by Users::OmniauthCallbacksController#failure as HTML Parameters: {"code"=>"xxx", "state"=>"xxx"} Redirected to http://localhost:3000/ Completed 302 Found in 1ms (ActiveRecord: 0.0ms | Allocations: 207)