Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Feat/basic auth contribution #545

Merged
merged 4 commits into from
Dec 23, 2022
Merged

Feat/basic auth contribution #545

merged 4 commits into from
Dec 23, 2022

Conversation

andrei-tyk
Copy link
Collaborator

Description

Added changes implemented in PR #539 and ran the required commands needed for CRDs documentation update.

To help with testing, apply the provided sample for basic-auth, create a basic auth key in the dashboard, port forward the gateway endpoint and use a command similar to curl http://localhost:8080/httpbin/headers -u "exampleUser:123456".
Without the user created we should get "User not authorised", with it created we should get the normal response.

Related Issue

Motivation and Context

Test Coverage For This Change

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • Make sure you are requesting to pull a topic/feature/bugfix branch (right side). If PRing from your fork, don't come from your master!
  • Make sure you are making a pull request against our master branch (left side). Also, it would be best if you started your change off our latest master.
  • Make sure you are updating CHANGELOG.md based on your changes.
  • My change requires a change to the documentation.
    • If you've changed APIs, describe what needs to be updated in the documentation.
  • I have updated the documentation accordingly.
  • If you've changed API models, please update CRDs.
    • make manifests
    • make helm
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • Check your code additions will not fail linting checks:
    • gofmt -s -w .
    • go vet ./...
    • golangci-lint run

@andrei-tyk andrei-tyk requested a review from a team as a code owner December 14, 2022 12:39
@andrei-tyk andrei-tyk requested review from buraksekili and removed request for a team December 14, 2022 12:39
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@singhpr singhpr merged commit 6cc5866 into master Dec 23, 2022
@singhpr singhpr deleted the feat/basic_auth_contribution branch December 23, 2022 09:19
@caroltyk caroltyk added this to the v0.13.0 milestone Jan 14, 2023
buger pushed a commit that referenced this pull request May 22, 2024
* Add basic authentication option with default settings

* Ran "make manifests" and "make helm" to update the config/crd/bases/tyk.tyk.io_apidefinitions.yaml and helm/crds/crds.yaml.

Co-authored-by: Bogumil_Laska <bogumil_laska@epam.com>
Co-authored-by: Burak Sekili <buraksekili@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants