add console log for REDIRECT_URI in Google OAuth handling for debugging

This commit is contained in:
bobbert committed 2026-02-22 23:19:52 +00:00
1 parent eaa0a38a44
commit 12242f2ff6
1 file changed
+3
+3
View File
@@ -11,6 +11,9 @@ const GOOGLE_CLIENT_ID = '313090284964-rgq1u7np6ogucu9o97s134n5nc6nj7kf.apps.goo
// Register this URI in Google Cloud Console → Authorized redirect URIs. // Register this URI in Google Cloud Console → Authorized redirect URIs.
const REDIRECT_URI = AuthSession.makeRedirectUri({ scheme: 'media-aggregation' }); const REDIRECT_URI = AuthSession.makeRedirectUri({ scheme: 'media-aggregation' });
//for finding what the redirect is for OAUTH:
console.log('REDIRECT_URI:', REDIRECT_URI);
const GOOGLE_DISCOVERY = { const GOOGLE_DISCOVERY = {
authorizationEndpoint: 'https://accounts.google.com/o/oauth2/v2/auth', authorizationEndpoint: 'https://accounts.google.com/o/oauth2/v2/auth',
tokenEndpoint: 'https://oauth2.googleapis.com/token', tokenEndpoint: 'https://oauth2.googleapis.com/token',