-
Notifications
You must be signed in to change notification settings - Fork 8
Lab 06 is not working #3
Comments
Thanks for your message.
If you did, does the Identity Server project log any error? |
Yes I seeded and get a message that I loged in successfully. But I get the error message I added in my first post. Forgot that, sorry. |
It is weird, I don't know where that address is coming from... I'm going to try to find the problem as soon as possible, but in the meantime you could try this workaround to see if it fixes the problem. The important thing is that the IdentityServer database (not the code, because the code is only used during the seed fase) and the value provided by the spa client match. One thing you could try is
Hope this helps. |
Ok, I've found the problem. It is only working with Kestrel. I used IIS Express to run Identity Server and was not redirected. With Kestrel it works. |
When you checkout Lab 06 solution, run the spa client and the identity server.
Login from the spa client
you get redirected to identity server.
you login and the authenticated.
I get an error message:
"Invalid redirect_uri: http://localhost:5001/#/callback#"
Strange thing is: I put a / between callback and # Why is it not going to identity server?
you stay on the login page. you are not redirected back to the spa client.
Otherwise it is a fantastic tutorial! Congrats!
The text was updated successfully, but these errors were encountered: