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

Prevent oauth/token hang using access route internal #26

Merged
merged 2 commits into from
Aug 27, 2019
Merged

Prevent oauth/token hang using access route internal #26

merged 2 commits into from
Aug 27, 2019

Conversation

kresnasatya
Copy link
Contributor

Mengapa?

Jika user menggunakan perintah php artisan serve dan tidak menggunakan Valet atau homestead untuk membuat dummy domain (embel" .test) maka yang akan terjadi adalah saat menggunakan Guzzle maupun Curl adalah request bolak balik dan ujung"nya hang.

Solusi yang bisa ditawarkan adalah mengirim data tersebut lewat route internal seperti yang disebutkan di forum SO: https://stackoverflow.com/questions/51000573/laravel-5-6-pass-oauth-token-hanging.

Saya barusan sudah mencoba untuk dummy domain maupun dengan localhost.

@nafiesl
Copy link
Owner

nafiesl commented Aug 26, 2019

Siap, mas @satyakresna bisa bantu perbaiki style-ci failsnya?

@kresnasatya
Copy link
Contributor Author

Halo mas @nafiesl , sip sudah saya perbaiki. Mohon di merge-request ya.

Copy link
Owner

@nafiesl nafiesl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great.

@nafiesl nafiesl merged commit fa754f7 into nafiesl:master Aug 27, 2019
@nafiesl
Copy link
Owner

nafiesl commented Aug 27, 2019

makasih mas @satyakresna 🙏

@kresnasatya
Copy link
Contributor Author

kresnasatya commented Aug 27, 2019 via email

@kresnasatya kresnasatya deleted the improvement-passport branch March 8, 2020 10:14
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.

2 participants