mirror of
https://github.com/mudabbir-ahmad/Media-Aggregation-and-Sorting-System.git
synced 2026-10-07 19:40:20 +00:00
add console log for REDIRECT_URI in Google OAuth handling for debugging
This commit is contained in:
1 parent
eaa0a38a44
commit
12242f2ff6
1 file changed
+3
@@ -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',
|
||||||
|
|||||||
Reference in new issue
Block a user