Social Login
Please, add the social login features in the next update, im still looking for the social authentication library in codeigniter 4, but i can't find it.
I recommend you to use this: https://hybridauth.github.io/
Hi! I did fresh CI4 install. Created virtualhost, created new database, check db connection. Everything works fine. Then followed instructions to install library (including setting and testing mailtrap.io...) Then, as instructed I ran 'php spark migrate' in order to create tables and got following output:
CodeIgniter CLI Tool - Version 4.0.4 - Server-Time: 2020-12-19 15:17:30pm
Running all new migrations... Done
In database I found one table called migrations. I visited /register and got 404 with following message:
Controller or its method is not found: \App\Controllers\Register::index
I didn't skip any step in instruction yet I can't figure out what is wrong.
Run this SQL Query when on step php spark migrate
CREATE TABLE `users` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`email` varchar(191) NOT NULL DEFAULT '',
`new_email` varchar(191) DEFAULT NULL,
`password_hash` varchar(191) NOT NULL DEFAULT '',
`name` varchar(191) NOT NULL DEFAULT '',
`activate_hash` varchar(191) DEFAULT '',
`reset_hash` varchar(191) DEFAULT NULL,
`reset_expires` bigint(20) NOT NULL,
`active` tinyint(4) NOT NULL DEFAULT '0',
`created_at` bigint(20) DEFAULT NULL,
`updated_at` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `email` (`email`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;