File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
packages/auth/src/Installer Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,8 @@ public function install(): void
4545 '' ,
4646 'Next steps: ' ,
4747 '1. Update the .env file with your OAuth credentials ' ,
48- '2. Review and customize the published files if needed ' ,
48+ '2. Implement the OAuth controller callback method ' ,
49+ '3. Review and customize the published files if needed ' ,
4950 '' ,
5051 '<strong>Published files</strong> ' ,
5152 ...arr ($ this ->publishedFiles )->map (fn (string $ file ) => '<style="fg-green">→</style> ' . $ file ),
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ public function redirect(): Redirect
3232 #[Get('callback-route ' )]
3333 public function callback (Request $ request ): Redirect
3434 {
35+ // TODO: implement, the code below is an example
36+
3537 $ this ->oauth ->authenticate (
3638 request: $ request ,
3739 map: fn (OAuthUser $ user ): Authenticatable => query ('user-model-fqcn ' )->updateOrCreate ([
You can’t perform that action at this time.
0 commit comments