Sorry for being late.
Could you share the video and project again? thanks.
Hi,
Is ValidFrom
your custom property?
Could you please share a test project with me? I will check it. thanks. shiwei.liang@volosoft.com
Hi,
Could you share a test project with me? I will check it. thanks. shiwei.liang@volosoft.com
Closing.
The problem is application uses the wrong database.
Free open if still not working.
Hi,
Can I check it remotely? https://us05web.zoom.us/j/5929668302?pwd=UXl2M2RUeG5PazVSY2ZCOW1NMUxtZz09
Hi,
Yes. you can give it a try
Hi,
You can check it via the API endpoint.
Open https://saas-api-a8hxe3cme6h7f9g4.canadacentral-01.azurewebsites.net/account/login to log in
Open https://saas-api-a8hxe3cme6h7f9g4.canadacentral-01.azurewebsites.net/api/openiddict/applications
You can see it's still http://localhost:4200
, did you connect to the correct database?
Hi,
Your redirect_uri seems to have no problem. Are you using redis cache?
If yes, try clearing the cache.
Hi,
Could you set the log level to debug
, openiddict to Verbose
and share me the full logs file? shiwei.liang@volosoft.com thanks.
var loggerConfiguration = new LoggerConfiguration()
.MinimumLevel.Debug()
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
.MinimumLevel.Override("OpenIddict", LogEventLevel.Verbose)
.Enrich.FromLogContext()
.....
Hi,
2025-04-11 05:59:08.993 +00:00 [INF] Client validation failed because 'https://saas-fe-bcc7btejdefpf6gy.canadacentral-01.azurewebsites.net' was not a valid redirect_uri for DiyarSaaS_App. 2025-04-11 05:59:08.993 +00:00 [INF] The authorization request was rejected because the redirect_uri was invalid: 'https://saas-fe-bcc7btejdefpf6gy.canadacentral-01.azurewebsites.net'.
I think this is the reason, you can check the appsettings
and the database table to check if redirect_uri
is correct