javascript - Sub-domain causing issue in uploading file to Google Drive -
i trying upload files google-drive website using java-script file provides after creating app. while creating app on google drive have added authorized redirect uri & authorized javascript origins domains "www.mydomain.com". now, website url contains sub-domain "www.subdomain.mydomain.com". sub-domain changes users.
when try upload google-drive such url gogole-drive responding error message origin_mismatch. know because of url registered (while creating app on google-drive) different url trying upload.
so, how can upload files google-drive url contains sub-domain , (sub-domain) changes users.
Comments
Post a Comment