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

add auth #1902

Merged
merged 6 commits into from
Apr 10, 2024
Merged

add auth #1902

merged 6 commits into from
Apr 10, 2024

Conversation

StarfallProjects
Copy link
Contributor

@StarfallProjects StarfallProjects commented Feb 15, 2024

@Joffcom not 100% sure if this is what you actually meant in the ticket? Could people use both authenticate and auth?

Copy link

netlify bot commented Feb 15, 2024

Deploy Preview for n8n-docs ready!

Name Link
🔨 Latest commit bcbf4cc
🔍 Latest deploy log https://app.netlify.com/sites/n8n-docs/deploys/6616a7d09111e100089fc7e5
😎 Deploy Preview https://deploy-preview-1902--n8n-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

github-actions bot commented Feb 15, 2024

Overall readability score: 45.54 (🟢 +0)

File Readability
credentials-files.md 73.42 (🟢 +0.22)
View detailed metrics

🟢 - Shows an increase in readability
🔴 - Shows a decrease in readability

File Readability FRE GF ARI CLI DCRS
credentials-files.md 73.42 59.9 6.75 9.1 10.94 7.14
  🟢 +0.22 🟢 +0.4 🔴 -0.02 🟢 +0.2 🟢 +0.18 🔴 -0.11

Averages:

  Readability FRE GF ARI CLI DCRS
Average 45.54 39.23 11.88 14.29 13.47 8.56
  🟢 +0 🟢 +0 🟢 +0 🟢 +0 🟢 +0 🟢 +0
View metric targets
Metric Range Ideal score
Flesch Reading Ease 100 (very easy read) to 0 (extremely difficult read) 60
Gunning Fog 6 (very easy read) to 17 (extremely difficult read) 8 or less
Auto. Read. Index 6 (very easy read) to 14 (extremely difficult read) 8 or less
Coleman Liau Index 6 (very easy read) to 17 (extremely difficult read) 8 or less
Dale-Chall Readability 4.9 (very easy read) to 9.9 (extremely difficult read) 6.9 or less

@Joffcom
Copy link
Member

Joffcom commented Feb 26, 2024

@StarfallProjects Auth is a property like body / header / qs it lets you use Basic Auth as an authentication option so you would use it like...

authenticate: IAuthenticateGeneric = {
  type: 'generic',
  properties: {
    auth: {
      username: '={{$credentials.username}}',
      password: '={{$credentials.password}}',
    },
  },
};

@StarfallProjects StarfallProjects merged commit ff2aecd into main Apr 10, 2024
7 checks passed
@StarfallProjects StarfallProjects deleted the DOC-737-auth-creds branch April 10, 2024 15:01
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

Successfully merging this pull request may close these issues.

None yet

2 participants