Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function requestAuth () {
- $query = http_build_query([
- 'client_id' => env("CLIENT_ID"),
- 'redirect_uri' => env("REDIRECT_URI_AUTHORIZATION_CODE"), //redirect ของเว็บนี้ ที่ให้ปลื้มแก้ครับ
- 'response_type' => 'code',
- 'scope' => '',
- ]);
- // return redirect(env("BACKEND_IP").'/api/oauth/getcode?'. $query);
- // dd(env("BACKEND_IP").'/api/oauth/getcode?'. $query);
- return redirect(env("BACKEND_IP").'/api/oauth/getcode?'. $query);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement