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

update authentication and authorization docs #267

Merged
merged 2 commits into from
Aug 3, 2023

Conversation

cyyeh
Copy link
Member

@cyyeh cyyeh commented Aug 3, 2023

Description

update authentication and authorization docs

Issue ticket number

None

Additional Context

@vercel
Copy link

vercel bot commented Aug 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vulcan-sql-document ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 3, 2023 3:32am

Copy link
Contributor

@kokokuo kokokuo left a comment

Choose a reason for hiding this comment

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

Some question and suggestion, others LGTM 👍


### Providing credentials to HTTP Header

You need to add a header `Authorization: sample-token <token>` when sending requests, for example, sending requests with the token “another-secret”.
Copy link
Contributor

@kokokuo kokokuo Aug 3, 2023

Choose a reason for hiding this comment

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

Found the typo, sample-token should be simple-token

department: engineer
```

### Password file
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

After a discussion with @cyyeh, we won't add the content to the document.

Comment on lines +52 to +57
```yaml
urlPath: /customer
profiles:
- pg-admin
- pg-non-admin
```
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we also let users know that we could set multiple profiles, but in the SQL file, only could access one data source?

Copy link
Contributor

@kokokuo kokokuo left a comment

Choose a reason for hiding this comment

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

Thanks for fixing, LGTM 👍

@kokokuo kokokuo merged commit ecc837d into Canner:develop Aug 3, 2023
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.

2 participants