azure-saas icon indicating copy to clipboard operation
azure-saas copied to clipboard

SaaS.Application.Web

Open anz-yogesh opened this issue 1 year ago • 2 comments

We manage to deploy the service and saas webapp on azure. However there are not enough documentation on how to configure SaaS.Application.Web on local. Also, How we get JWT token to debug on local environment?

anz-yogesh avatar Oct 11 '23 09:10 anz-yogesh

I took at look at this. It seems there was a note there that we forgot to delete.

This should really be all you need to run this locally: https://github.com/Azure/azure-saas/tree/main/src/Saas.Application#how-to-run-locally.

Let us know if this is helpful?

The comment about ngrok, shouldn't apply to the web app, but only to the APIs.

1iveowl avatar Oct 16 '23 13:10 1iveowl

@1liveowl The documentation now tells how to run it locally, but it seems to be useless when you want to do tests with the admin area: One cannot sign in into a instance running locally:

When I sign in on the local instance running on https://localhost:5001, I am forwarded to the production instance which trows an error message: image

When running the instance locally in dev. mode, it should forward me to localhost, not to the production instance.

leo-schick avatar Jan 07 '24 09:01 leo-schick