最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

oauth - Redirect URL on OAuth2.0 after switching from http to https

programmeradmin2浏览0评论

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.

Share Improve this question edited Dec 12, 2019 at 6:49 shinyatk asked Dec 11, 2019 at 14:59 shinyatkshinyatk 1113 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

As 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.

发布评论

评论列表(0)

  1. 暂无评论