can't access window.swaggerUi inside injected JS code #9648
Unanswered
wojciech-zur
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a backend in .NET 8, where I InjectJavascript like this:
my customSwaggerLogin.js content is:
The code properly fetches JWT token, but it crashes here:
telling me that window.swaggerUi is undefined. I will be glad for any hint with this issue.
Beta Was this translation helpful? Give feedback.
All reactions