• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
FusionAuth
  • Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login

fusionauth-example-asp-netcore: Malformed client_id

Scheduled Pinned Locked Moved
Q&A
dotnet docker error jwt cookies
2
3
4.6k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    kwatters
    last edited by 19 Nov 2020, 21:54

    I am trying to test the fusionauth-example-asp-netcore but have run into the following error.

    {
      "error" : "invalid_client",
      "error_description" : "client_id: d6a4b823-e832-4996-aedc-c8c678e17d5cest is not valid.",
      "error_reason" : "invalid_client_id"
    }
    

    I downloaded Fusionauth via the docker quick start then jumped in on the example projects following the blog posts

    • https://fusionauth.io/blog/2020/04/28/dot-net-command-line-client/
    • https://fusionauth.io/blog/2020/05/06/securing-asp-netcore-razor-pages-app-with-oauth/

    I copied the suggested values from the readme file as shown below.

    59c2d7b7-5742-4d24-9fc2-178ca8984d96-image.png

    1fb1d962-9ff7-476f-8844-fa27a71227fd-image.png

    I noted that the current code in the repo does not line up exactly with the code in the blog post. Have tried both and get the same result regardless. Any suggestions would be much appreciated.

    1 Reply Last reply Reply Quote 0
    • K
      kwatters
      last edited by 20 Nov 2020, 17:00

      For anyone else running into this issue. It appears that the issue was caused by the value in appsettings.Development.json some how a few extra char's got appended to the end of the ClientId string. Once that was fixed I also had to update the redirect routes to account for https. Now the app works perfectly.

      1 Reply Last reply Reply Quote 1
      • D
        dan
        last edited by 24 Nov 2020, 03:10

        That's great to hear, glad you figured it out!

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 1
        1 out of 3
        • First post
          1/3
          Last post