firebaseoauth2
Advanced tools
@@ -26,3 +26,2 @@ const express = require("express"); | ||
console.log('-- %s %s', req.method, fullUrl); | ||
console.log('method', req.method); | ||
next(); | ||
@@ -34,3 +33,3 @@ }); | ||
console.log('Authorization URL', req.protocol + '://' + req.get('host') + 'oauth/authorize') | ||
console.log('Authorization URL', req.protocol + '://' + req.get('host') + '/oauth/authorize') | ||
console.log('Implicit Client ID', ImplicitClientID) | ||
@@ -57,2 +56,4 @@ | ||
/** 暗黙の... **/ | ||
console.log(client_id, implicitClientId) | ||
/* | ||
if (client_id != implicitClientId) { | ||
@@ -63,2 +64,3 @@ URI = redirect_uri + "?error=invalid_client&state=" + state; | ||
} | ||
*/ | ||
@@ -90,3 +92,3 @@ // そのまま認証にリダイレクトする | ||
let state = req.query.state; | ||
cd .. | ||
res.render("userAuthorize", { | ||
@@ -93,0 +95,0 @@ title: "Hey", |
{ | ||
"name": "firebaseoauth2", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "indexjs.js", |
5614
0.43%169
1.81%