Hi,

I've found that if the oauth2RedirectUrl option is not set then the swagger_ui points to the wrong endpoint.
This needs to be set to point to the right endpoint because otherwise in case of an oauth2 implicit flow the authentication would fail.

I'll attach the patch soon.

Comments

yce created an issue. See original summary.

yce’s picture

balazswmann’s picture

Assigned: Unassigned » balazswmann
yce’s picture

Forgot to rename settings to drupalSettings, I've uploaded the fixed patch.

  • balazswmann committed efe1e21 on 8.x-2.x authored by yce
    Issue #3063895 by yce, balazswmann: Set oauth2RedirectUrl option
    
balazswmann’s picture

Assigned: balazswmann » Unassigned
Status: Active » Fixed
balazswmann’s picture

Status: Fixed » Closed (fixed)