office365 open id connect and changing http to https

office365 open id connect and changing http to https

by frank frank -
Number of replies: 0

When i installed moodle, seems like I did it in http so when integrating using open id connect with office 365 the redirect uri was with out https or only http (as shown in figure)
Now if i change the site to strictly follow https (even changing in config.php) site works but open id connect fails (when using https) saying that
AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '

There is no way to change redirect uri in moodle plugin settings as shown in figure, and I have no idea where is it in office365 admin settings.

I know that i need to change http to https in both the places but not sure how and where to do it?

Any idea?
or maybe will plugin upgrade help in this case? (ie it detects new settings when updating)error 1

error 2

Average of ratings: -