Problem in SampleProject
I'am using the project this link:
I'm using FusionAuth on the company's server, but as soon as I login I get a 400 error return, if you can help me in correcting this problem it will be of great help.
What version of FusionAuth are you using? Did you install it via docker?
Have you registered a redirect URI in FusionAuth that the user can land on after they sign in to FusionAuth?
Can you show a screenshot of the error you are seeing?
I installed FusionAuth via docker the version is 1.19.2
I'm learning how authentication works so I followed the tutorial to the letter, changing only the ID.
Ah, looks like you need to update the client secret.
From the .NET core app config, the client secret is
fem...and from your screenshot it is
F1D.... They need to match.
Can you try making sure they match and see if that helps?
@dan sorry for sending it wrong, i fixed it and the error 400 problem continues.
I ran through the sample app on my machine and the sample app works. I did notice that the instructions in github were not as thorough as they should be. I updated them.
Can you take a look at them now: https://github.com/FusionAuth/fusionauth-example-asp-netcore
and see what happens if you follow those instructions for getting it running?
Also, what version of dotnet are you using?
Did you end up getting it working, @tiago-cruz ?