|
|
@ -32,12 +32,12 @@ class CreateOauths < ActiveRecord::Migration
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OauthConfig.create(
|
|
|
|
# OauthConfig.create(
|
|
|
|
client_id: '88d893c5a345313e7b8c6fcf23d3d024ee08d5e41ce120c3448b6eea77d8de30',
|
|
|
|
# client_id: '88d893c5a345313e7b8c6fcf23d3d024ee08d5e41ce120c3448b6eea77d8de30',
|
|
|
|
client_secret: 'e9240cc5fc913741db5aea93f2986a8ea0631bb67f7c00e41e491b95d9619e64',
|
|
|
|
# client_secret: 'e9240cc5fc913741db5aea93f2986a8ea0631bb67f7c00e41e491b95d9619e64',
|
|
|
|
redirect_uri: 'http://localhost:3000/oschina/login_cb',
|
|
|
|
# redirect_uri: 'http://localhost:3000/oschina/login_cb',
|
|
|
|
scope: ''
|
|
|
|
# scope: ''
|
|
|
|
)
|
|
|
|
# )
|
|
|
|
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|