Starts in:
0 DAY
2 HRS
39 MIN
4 SEC
Starts in:
0 D
2 H
39 M
4 S
Open Closed

Unable to auth swagger in production deployment #1387


User avatar
0
dwoodard created
  • ABP Framework version: v4.3.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue: Attempt to authorize swagger after deploying to production system.
  1. Browse to swagger
  2. Click Authorize
  3. Enter client_id and client_secret
  4. Press Authorize button


3 Answer(s)
  • User Avatar
    0
    dwoodard created

    Found this in the logs:

    2021-05-24 22:20:30.702 -05:00 [ERR] scope is missing {"ClientId":"Wms_Swagger","ClientName":"Wms_Swagger","RedirectUri":"https://xx.xx.51.47:44330/swagger/oauth2-redirect.html","AllowedRedirectUris":["https://xx.xx.51.47:44330/swagger/oauth2-redirect.html"],"SubjectId":"anonymous","ResponseType":"code","ResponseMode":"query","GrantType":"authorization_code","RequestedScopes":"","State":"TW9uIE1heSAyNCAyMDIxIDIyOjIwOjMwIEdNVC0wNTAwIChDZW50cmFsIERheWxpZ2h0IFRpbWUp","UiLocales":null,"Nonce":null,"AuthenticationContextReferenceClasses":null,"DisplayMode":null,"PromptMode":"","MaxAge":null,"LoginHint":null,"SessionId":null,"Raw":{"response_type":"code","client_id":"Wms_Swagger","redirect_uri":"https://xx.xx.51.47:44330/swagger/oauth2-redirect.html","state":"TW9uIE1heSAyNCAyMDIxIDIyOjIwOjMwIEdNVC0wNTAwIChDZW50cmFsIERheWxpZ2h0IFRpbWUp"},"$type":"AuthorizeRequestValidationLog"} 2021-05-24 22:20:30.702 -05:00 [ERR] Request validation failed

    However, I have no idea what I am supposed to do about this.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    You can select the scopes.

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06