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

Documentation for API authentication using tokens #1169

Open
egooner opened this issue Sep 2, 2024 · 1 comment
Open

Documentation for API authentication using tokens #1169

egooner opened this issue Sep 2, 2024 · 1 comment

Comments

@egooner
Copy link

egooner commented Sep 2, 2024

I have tried numerous options to try and figure this out but none work for me.

Authentication using username and password is ok but find do not mention cookies being used which works have been helpful!!

Tried logging in with

  • blank user and token as password
  • No user just token as password
  • Token with key name instead
  • Bearer authentication

Tried using Bearer authentication for Auth/me call and Zone list and also no good!!

Can you shed some light on the correct way to use token authentication please and hopefully add to the docs or clarify where it is.

@github-staff github-staff deleted a comment from maher-nakesh Oct 1, 2024
@BeryJu
Copy link
Owner

BeryJu commented Oct 11, 2024

API authentication works with tokens set as Bearer authorization header which is how the terraform provider works. Did you create a token under Auth -> Tokens?

BeryJu added a commit that referenced this issue Oct 11, 2024
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

2 participants