Open enrique-ochoa opened 2 years ago
We've not seen any issues like this throughout the development process of this sample. Could it be a cached cookie? Do you have any other diagnostic logs? Did the deployment scripts successfully run without any errors or warnings?
/cc @MikeLarah
Thanks @HowardvanRooijen for your prompt reply. I would understand there could be a caching issue with the sign-in option, but with sign-up? Is there any password validation that maybe I am not being compliant with?
The only thing that I missed was cloning the monetizationModels.json. I just downloaded and executed the stripeInitialisation.ps1 file. The demo deployment was 100% successful and then after initialization, I could see products and pricing models set in Stripe. Not sure if this missing step has to do with my issue though
I'll run all the deployment steps again and see if I run into the same issue. Will let you know in a couple of hours
Hi @HowardvanRooijen I redeployed the demo, this time using the power shell script instead of Azure Portal, and I am getting exactly the same error: "Invalid Credentials" every time that I want to sign up. This time, I was extremely careful in following all the steps mentioned in the page: https://github.com/microsoft/azure-api-management-monetization/blob/main/documentation/stripe-deploy.md. All the deployment steps were successfully executed. I've been trying to sign up using InPrivate windows to avoid any caching issues
What information can I send in order for you to identify the root cause of the issue? a call may be a faster way of troubleshooting
Following up on this
I got this error if I tried to use the same publisher email used when I created the APIM (since that creates a default "Administrator" user with that email). Make sure you are trying to sign up using an email that is not already in the list of users your APIM knows about (look at the Users blade in your APIM in the Azure portal).
I followed all the instructions to deploy this demo, and everything ran successfully. I can see the products information both in APIM and Stripe. When I try to sign up to Developer Portal, I get redirected to the Web App and after entering any type of credentials and hitting the Sign-up button, I always get the "Invalid Credentials" error message
Looking at the Web App logs, I can see a 302 http code when the POST /signUp request is triggered. And this is the response url I get after hitting the Sign-up button: https://app-apim-monetization.azurewebsites.net/apim-delegation?errorMessage=Invalid%20credentials&returnUrl=%2F&operation=SignUp&salt=DubYQ0sJC%2F8K3sAIc6TBw2PvW%2Bn4Uk4qD9TnZepMikM%3D&sig=0bkL1gQtCrJzqcC5Z7h1Ja1meewi9M%2Bl4ReSkqJhXdb3btZ1%2Bo0EpammjcyhqDiGuPMEvWELhhuX%2F2l0FFF7Sg%3D%3D
Can you please help me get this issue fixed?