admin管理员组文章数量:1405384
I'm pretty new to Google OAuth 2.0 config and please allow me to ask this question.
I have a wordpress site which protocol will be updated to https
from http
. On the site, it pulls data from google api with using OAuth 2.0 with 'http://*' as redirect url.
After making the site protocol https, I am going to add redirect setting on wordpress server side from http
to https
.
My question is whether google api data will be still available on my wordpress site without updating redirect url on OAuth 2.0 since the server side handles redirect. I know I need to update the OAuth 2.0 redirect url to https
eventually. The reason I'm asking this is I would like to keep pulling google api data without failing right after switching to https
before updating the protocol on OAuth.
I'm pretty new to Google OAuth 2.0 config and please allow me to ask this question.
I have a wordpress site which protocol will be updated to https
from http
. On the site, it pulls data from google api with using OAuth 2.0 with 'http://*' as redirect url.
After making the site protocol https, I am going to add redirect setting on wordpress server side from http
to https
.
My question is whether google api data will be still available on my wordpress site without updating redirect url on OAuth 2.0 since the server side handles redirect. I know I need to update the OAuth 2.0 redirect url to https
eventually. The reason I'm asking this is I would like to keep pulling google api data without failing right after switching to https
before updating the protocol on OAuth.
1 Answer
Reset to default 0As the result of this, I did not have to update the redirect url on OAuth 2.0 page. I guess it works because I added redirect on WordPress, then the request to the page was redirected to 'https' automatically.
本文标签: oauthRedirect URL on OAuth20 after switching from http to https
版权声明:本文标题:oauth - Redirect URL on OAuth2.0 after switching from http to https 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744880283a2630169.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论