GoogleOauth2.0 Funktioniert. Beim Aufrufen von http://localhost:7000/ wird direkt die Google Login Seite geöffnet. Es wird dann von der callback route '/auth/google/callback' die route '/dash' geöffnet. Auf der Route '/dash' wird unsere index Seite der app entwickelt
13 lines
240 B
Plaintext
13 lines
240 B
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title></title>
|
|
<link rel='stylesheet' href='/stylesheets/style.css' />
|
|
</head>
|
|
<body>
|
|
<h1></h1>
|
|
<p>Welcome to </p>
|
|
<a href='http://localhost:7000/logout'>Logout</a>
|
|
</body>
|
|
</html>
|