Azure / azure-saas

The Azure SaaS Development Kit (ASDK) provides a reference architecture, deployable reference implementation and tools to help developers, startups, ISVs and Enterprises deliver their applications as a SaaS service. A platform for platform creators.
https://aka.ms/azuresaasdevkit
326 stars 239 forks source link

SaaS.Application.Web #242

Open anz-yogesh opened 8 months ago

anz-yogesh commented 8 months ago

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?

1iveowl commented 8 months ago

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.

leo-schick commented 5 months ago

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