0
raju.thinnaluri@gmail.com created
Hi,
We implemented the Blazor WebAssembly app as a SaaS model in microservice template.
And able load the all the services Swagger UI like Admin Service, SaaS Service but Web Gateway Swagger not loading
If you're creating a bug/problem report, please include followings:
- ABP Framework version: v7.2.2
- UI type: Blazor WebAssembly
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace:
- Steps to reproduce the issue:"
36 Answer(s)
-
0
- Update client application to add redirectUri
- Or update data seed code
await CreateApplicationAsync( name: swaggerClientId!, type: OpenIddictConstants.ClientTypes.Public, consentType: OpenIddictConstants.ConsentTypes.Implicit, displayName: "Swagger Client", secret: null, grantTypes: new List<string> { OpenIddictConstants.GrantTypes.AuthorizationCode, }, scopes: commonScopes.Union(scopes).ToList(), redirectUris: new List<string> { $"{webGatewaySwaggerRootUrl}/oauth2-redirect.html", // This line $"{webGatewaySwaggerRootUrl}/swagger/oauth2-redirect.html", // WebGateway redirect uri $"{publicWebGatewayRootUrl}/swagger/oauth2-redirect.html", // PublicWebGateway redirect uri $"{accountServiceRootUrl}/swagger/oauth2-redirect.html", // AccountService redirect uri $"{identityServiceRootUrl}/swagger/oauth2-redirect.html", // IdentityService redirect uri $"{administrationServiceRootUrl}/swagger/oauth2-redirect.html", // AdministrationService redirect uri $"{saasServiceRootUrl}/swagger/oauth2-redirect.html", // SaasService redirect uri $"{productServiceRootUrl}/swagger/oauth2-redirect.html", // ProductService redirect uri $"{coreServiceRootUrl}/swagger/oauth2-redirect.html", // CoreService redirect uri $"{itServiceRootUrl}/swagger/oauth2-redirect.html", // ITService redirect uri $"{messagingServiceRootUrl}/swagger/oauth2-redirect.html", // MessagingService redirect uri $"{reportServiceRootUrl}/swagger/oauth2-redirect.html", // ReportService redirect uri $"{documentServiceRootUrl}/swagger/oauth2-redirect.html", // DocumentService redirect uri $"{workServiceRootUrl}/swagger/oauth2-redirect.html", // WorkService redirect uri } );
-
0
Hi
Should we add same line for Public Web gateway as well?
-
0
Yes. You should.
-
0
-
0
Please use
WebGateway_Swagger
and addredirectUri
for it.{publicWebGatewayRootUrl}/oauth2-redirect.html
-
0
-
0
Yes, you can
-
0
-
0
-
0
Hi,
If i remove the RoutPrefix, can i use first 2urls?
-
0
Hi
Please create a new question. Thanks
Showing 26 to 50 of 36 entries.