Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OA API URL is not auto-filled properly when main URL does not have protocol #32

Closed
gear54rus opened this issue Feb 6, 2018 · 0 comments
Assignees
Milestone

Comments

@gear54rus
Copy link

Do you want to request a feature or report a bug?
Bug

Your envieronment
v0.0.5 any

What is the current behavior?

  • Open RESTED APS without pre-fill
  • Enter domain into main URL field: x.pyer.apsdemo.org
  • Switch to APS Token authentication
  • Press Refresh token

An error is shown:
An error occurred while refreshing the token: Failed to construct 'URL': Invalid URL

What is the expected behavior?
OA API URL to be filled upon switching to APS Token authentication, since it doesn't need protocol and the main request can be sent already.

Videos/screenshots of the issue
https://i.imgur.com/5PWNNmG.gifv

@gear54rus gear54rus added this to the 0.0.6 milestone Feb 6, 2018
@gear54rus gear54rus self-assigned this Feb 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant