Change social login to be a rewrite
{
"source": "/django-static/:match*",
"destination": "https://d2gn2ji624wbmi.cloudfront.net/django-static/:match*"
- }
- ],
- "redirects": [
+ },
{
"source": "/login/google",
- "destination": "https://d2gn2ji624wbmi.cloudfront.net/login/google-oauth2/",
- "permanent": false
+ "destination": "https://d2gn2ji624wbmi.cloudfront.net/login/google-oauth2/"
},
{
"source": "/complete/google-oauth2",
- "destination": "https://d2gn2ji624wbmi.cloudfront.net/complete/google-oauth2/",
- "permanent": false
+ "destination": "https://d2gn2ji624wbmi.cloudfront.net/complete/google-oauth2/"
}
]
}
