Log message #4192329

# At Username Text
# Jul 8th 2019, 15:30 olanowsubomi hello is anybody there?
# Jul 8th 2019, 15:29 niel45 @neon1024, any request method can have a body, and nothing should be assumed by that
# Jul 8th 2019, 15:29 olanowsubomi or can anybody tell me the file path to this from my my_app_name?
# Jul 8th 2019, 15:24 olanowsubomi ?
# Jul 8th 2019, 15:24 olanowsubomi the list of files in the config file are schema, .en.default, app.default, app, bootstrap, bootstrap_cli, paths, requirements, routes which file contain those code
# Jul 8th 2019, 15:15 admad @em. How can a GET request have a body?
# Jul 8th 2019, 15:15 neon1024 So your version might be out of date?
# Jul 8th 2019, 15:15 neon1024 There also isn’t a core.php.default any more https://github.com/cakephp/cakephp/tree/2.x/app/Config
# Jul 8th 2019, 15:14 neon1024 https://book.cakephp.org/2.0/en/installation.html
# Jul 8th 2019, 15:12 neon1024 The `core.php.default` file gets copied to `core.php` so edit that one
# Jul 8th 2019, 15:11 slackebot 'smtp_mail_from_name', 'noreply' ); Configure::write( 'smtp_mail_from_addr', 'tricks.cake@gmail.com' );' so that my app could send an email.
# Jul 8th 2019, 15:11 olanowsubomi though i have set up the database but i still need to set up this'// SMTP Configure::write( 'smtp_type', 'tls' ); Configure::write( 'smtp_timeout', 60 ); Configure::write( 'smtp_host', 'smtp.gmail.com' ); Configure::write( 'smtp_port', 465 ); Configure::write( 'smtp_user', 'tricks.cake@gmail.com' ); Configure::write( 'smtp_password', '' ); Configure::write( 'smtp_encryption', 'ENC_SSL' ); Configure::write(
# Jul 8th 2019, 15:11 neon1024 I don’t understand the question
# Jul 8th 2019, 15:08 olanowsubomi hello, please can anyone help me with cakephp file arrangement, in up my database i want to access this file /app/config/core.php.default
# Jul 8th 2019, 15:04 neon1024 Perhaps it shouldn’t assume and should just throw an exception?
# Jul 8th 2019, 15:04 neon1024 So it stands to reason that the client assumes you meant Post
# Jul 8th 2019, 15:03 neon1024 A post request would have a body
# Jul 8th 2019, 15:03 neon1024 A get request doesn’t have a body, it would have query params
# Jul 8th 2019, 15:03 neon1024 Sounds sensible to me
# Jul 8th 2019, 15:03 neon1024 Oh, wait, that would be Post to Get
# Jul 8th 2019, 15:03 neon1024 Ensure you are not using the PRG pattern anywhere
# Jul 8th 2019, 14:44 em. Should i open an issue?
# Jul 8th 2019, 14:40 em. CakePHP Http client converts a GET request into a POST request if the body is set.. It’s an unusual use case. But still strange behavior.
# Jul 8th 2019, 14:03 martin Need to check if I can use the new middleware for that, so it is also future-proof :P
# Jul 8th 2019, 14:00 martin did use https://github.com/uafrica/oauth-server in the past, but not maintained anymore
# Jul 8th 2019, 14:00 jeremyharris that I know nothing about, sorry
# Jul 8th 2019, 14:00 jeremyharris oh
# Jul 8th 2019, 14:00 martin but that pull request is login in with oauth by other provider. I want to run an oauth server
# Jul 8th 2019, 13:59 jeremyharris I don’t know the full history behind why it was abandoned (and haven’t looked at the code), you might be able to re-open the discussion with @cleptric and help solve some of the problems they had in order to get it in the library. I’m sure a lot of people would appreciate an oauth2 authenticator built in
# Jul 8th 2019, 13:58 martin Hmm, I don’t think that they will add it to the authentication plugin by it self?
# Jul 8th 2019, 13:57 jeremyharris you might be able to use some of this work: https://github.com/cakephp/authentication/pull/110 it was closed because the implementation wasn’t up to standards
# Jul 8th 2019, 13:56 martin Yes that is true
# Jul 8th 2019, 13:56 jeremyharris isn’t it both? it’s been a while since I’ve worked with it, but it authenticates and authorizes (via scope) right? either way, the libs should work with it
# Jul 8th 2019, 13:54 martin I did somewhere that is is not added by default because oauth2 is not authentication
# Jul 8th 2019, 13:54 martin better than build it in the old auth component :P
# Jul 8th 2019, 13:52 jeremyharris that would be in the authentication component, but yes it should be possible
# Jul 8th 2019, 13:50 martin middleware
# Jul 8th 2019, 13:50 martin ehh
# Jul 8th 2019, 13:50 martin wanted to know if it was possible to build in inside the authorization component
# Jul 8th 2019, 13:50 martin For a new (api) project I was yesterday checking for oauth2, since the only plugin that adds it is not maintained
# Jul 8th 2019, 13:50 jeremyharris I have an app that, when the user views a QuoteRequest, it checks if they are in certain groups or have been personally shared that quote request from a someone who has sendable permissions