The provided value for the input parameter 'redirect_uri' is not valid

Muhammad Asyrofuddien 0 Reputation points
2024-02-26T01:45:02.82+00:00

I Already setup my passport microsoft strategy with callbakURL same with i fill in azure but i got

  • passport microsoft js
  • microsoft strategy
  • nodejs 10
    User's image
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,939 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sreeju Nair 12,666 Reputation points
    2024-02-26T04:12:42.2966667+00:00

    What is the callback URL you configured in the Azure Portal, under application registration? You need to pass the same URL from your client. Verify the settings in the Azure App Registration. If this is correct, make sure your application sending the same request url.

    Hope this helps

    0 comments No comments

  2. brtrach-MSFT 17,731 Reputation points Microsoft Employee Moderator
    2024-02-29T02:29:30.81+00:00

    @Muhammad Asyrofuddien Please make sure that the redirect URI you are using in your passport Microsoft strategy matches the redirect URI that you have registered in the Azure portal for your application. If the redirect URI does not match, you will receive an error message like the one you are seeing. Also, make sure that the redirect URI is URL-encoded and that it is a valid URL. If you are still having trouble, please provide me with more information about your issue so that I can assist you better.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.