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

I'm pretty new to Google OAuth 2.0 config and please allow me to ask this question.I have a wordpress site which pr

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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744880284a4598801.html

相关推荐

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

    I'm pretty new to Google OAuth 2.0 config and please allow me to ask this question.I have a wordpress site which pr

    2天前
    50

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信