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

fix: axonaut verfication endpoint fix #3450

Conversation

sahil9001
Copy link
Contributor

@sahil9001 sahil9001 commented Oct 17, 2024

Description:

Fixes #3449 .
Screenshot 2024-10-17 at 1 18 05 PM

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

@sahil9001
Copy link
Contributor Author

@zricethezav @rgmz

@@ -47,7 +48,8 @@ func (s Scanner) FromData(ctx context.Context, verify bool, data []byte) (result
}

if verify {
req, err := http.NewRequestWithContext(ctx, "GET", "https://axonaut.com/api/v2/companies?type=all&sort=id", nil)
// Reference : https://axonaut.com/api/v2/doc
req, err := http.NewRequestWithContext(ctx, "GET", "https://axonaut.com/api/v2/me", nil)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The API returns user email which we can add in extra data but the API also return some other sensitive information about user. I'll let @mcastorina @abmussani comment here.

@sahil9001
Copy link
Contributor Author

@mcastorina @abmussani Can you please review this one?

@zricethezav
Copy link
Collaborator

This API change isn't fixing anything since https://axonaut.com/api/v2/companies?type=all&sort=id is a valid API endpoint to test verification. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Issue with incorrect verification endpoint for Axonaut
3 participants