modernize-oauth #76
							
								
								
									
										1
									
								
								web.php
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								web.php
									
									
									
									
									
								
							@ -29,6 +29,7 @@ if (!empty($_ENV['DEV'])) {
 | 
				
			|||||||
Container::$routeCollection = new RouteCollection();
 | 
					Container::$routeCollection = new RouteCollection();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Container::$routeCollection->get('home', '', [HomeController::class, 'getHome']);
 | 
					Container::$routeCollection->get('home', '', [HomeController::class, 'getHome']);
 | 
				
			||||||
 | 
					Container::$routeCollection->get('oauth-config-root', '.well-known/openid-configuration', [OAuthController::class, 'getConfig']);
 | 
				
			||||||
Container::$routeCollection->group('login', function (RouteCollection $routeCollection) {
 | 
					Container::$routeCollection->group('login', function (RouteCollection $routeCollection) {
 | 
				
			||||||
    $routeCollection->get('login', '', [LoginController::class, 'getLoginForm']);
 | 
					    $routeCollection->get('login', '', [LoginController::class, 'getLoginForm']);
 | 
				
			||||||
    $routeCollection->post('login-action', '', [LoginController::class, 'login']);
 | 
					    $routeCollection->post('login-action', '', [LoginController::class, 'login']);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user