Firstly, thank you for the sample app. The SDK saves a lot of development effort.
I have tried the app on local host and it worked well. Then I added according redirect URI and deployed the app on Azure Webapp and it doesn't work throwing an error: "Invalid redirect uri".
Please see the screenshots below.
Another question is what should I assign for state in config.py? I left it as sample config.py suggests and it worked for local host.
Firstly, thank you for the sample app. The SDK saves a lot of development effort.
I have tried the app on local host and it worked well. Then I added according redirect URI and deployed the app on Azure Webapp and it doesn't work throwing an error: "Invalid redirect uri".
Please see the screenshots below.
Another question is what should I assign for state in config.py? I left it as sample config.py suggests and it worked for local host.