Blazor and Cognito

0

trying to get a blazor server app to authenticate against cognito using Blazor.Auth0

user pool is working (can log in with the hosted ui) but when i run the app i get error 400 and the url shows

https://domain.auth.us-east-2.amazoncognito.com/error?error=redirect_mismatch&client_id=MYCLIENTID

when i use the hosted ui it calls my callback gets redirected to https then calls authorize on the oauth2 domain and then calls/shows the domain above

sure something simple is just not configured correctly. any tips on what to look for?

any help greatly appreciated

Mike

starzen
已提問 3 年前檢視次數 1014 次
1 個回答
0

switched the app to using Microsofts OpenIdConnect and was able to get it to work

starzen
已回答 3 年前
  • Hi @starzen , is your code anywhere as an example? I am searching now a way how to use Blazor Wasm+Cognito

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南