RESTool
RESTool copied to clipboard
Adding authentication/authorization
It would be nice if we could make users authenticate themselves. Maybe add a username and password field, with the password field replacing the characters with dots. That way this could be a more widely used interface that could be used by teams that need to limit what people can do.
@JeffreyStrahm That's a great idea, I've added a card in RESTool's backlog. https://github.com/dsternlicht/RESTool/projects/1#card-22817356
@dsternlicht Is this feature a work in progress? I need Basic Auth done by the users themselves and was going to add it in my fork but maybe things are already in progress for this?
@laudibert No. In this case I'll reopen the issue.
is someone working on this? i can help. I need this for making my feature live.
I have a very simple Basic Auth implemented on a fork. I don't know if that's what you're looking for but if it is, I can help with what I have.
thanks pls share your fork @laudibert
Here it is: https://github.com/laudibert/RESTool/tree/simple-auth-page
Once again, only works with Basic Auth. But you can surely go from there for anything else.
You also need to set unauthorizedRedirectUrl: '/#/login'
in your RESTool configuration.