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

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则