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

Auth Type #866

Open
pardus41 opened this issue Feb 8, 2024 · 3 comments
Open

Auth Type #866

pardus41 opened this issue Feb 8, 2024 · 3 comments

Comments

@pardus41
Copy link

pardus41 commented Feb 8, 2024

Hello, I have a production that I transferred from Postman Collection to Akto. But when I test it, it doesn't seem to authenticate.
Even though I registered my Baerer token from user config. Thanks.

@ankush-jain-akto
Copy link
Contributor

Hi @pardus41 - You have to configure a Test Role (Testing > Test roles). When you click on Run test button, you will see an option Select test role - please select the test role you created and it should take the auth from that role.

@ankush-jain-akto
Copy link
Contributor

I will also update the docs with this info. Also, please let me know if the above solution works out for you

@4volver
Copy link

4volver commented Dec 27, 2024

Hi Dear Akto team,
I have the same issue with openAPI and when I try to define an Authorization Header, I just cannot without defining a condition. When I set a condition for the endpoint "/" and then perform the test for that specific role, lots of my tests will get skipped because of the "No Valid Auth Headers" here is the full message: "Request API failed to satisfy api_selection_filters block, skipping execution, No valid auth headers" I can provide a video or some photos if you prefer to see everything visually. also I am using Akto version: 1.47.7 - 1730016622 - 1.47.7 both for Dashboard and Runtime.

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

3 participants