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

Where would be the best place to pass an api key as basic auth to the page in which you are loading? #149

Open
MostHated opened this issue May 10, 2023 · 0 comments

Comments

@MostHated
Copy link

Hey there, an app I am trying to use makes use of this library, but the page I am needing to load requires an api key if not logged in.

An example would be using similar to the following:

curl -u":xx_xx_api_key_xx_xx" http://10.10.69.420:/dashboard

It accepts the api key as a basic auth, but without a user (just a local uptime kuma instance). I am wondering where I might add this, somewhere in page, but before calling goto(), or similar?

Thanks,
-MH

@MostHated MostHated changed the title Where would be the best place to pass an api key as basic auto to the page in which you are loading? Where would be the best place to pass an api key as basic auth to the page in which you are loading? May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant