Deploying abp.io to an Azure AppService

I've found the process to fixing a common deployment problem a bit scattered and wanted to pull it all together to help the community. This blog helps solve the OpenIddict certificate "access denied" problem when you first deploy an AppService to Azure.

Bayernfan 3 weeks ago

Thanks for the post, i did deployed to azure successfully. but not everything works. i'm using the angular version as a FE. but i got the error:

2023-01-12 13:05:31.956 +00:00 [INF] Client validation failed because '[my domain]' was not a valid redirect_uri for Internal_App. 2023-01-12 13:05:31.957 +00:00 [INF] The authorization request was rejected because the redirect_uri was invalid: '[my domain]'.

i get the same issue while authenticating in swagger. 023-01-12 13:15:02.762 +00:00 [INF] Client validation failed because '.../swagger/oauth2-redirect.html' was not a valid redirect_uri for Internal_Swagger. 2023-01-12 13:15:02.762 +00:00 [INF] The authorization request was rejected because the redirect_uri was invalid: '.../swagger/oauth2-redirect.html'.

i do have these domains set in my appsettings, RedirectAllowedUrls, but still. seems that it's not reading them. do i need anything else to setup? or where can i start checking? i've basically tried everything. (BTW the frontend - angular is a separate static webapp, which domain is also in the RedirectAllowedUrls)