-
Notifications
You must be signed in to change notification settings - Fork 32
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this 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”. |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about also adding the user-list
section to complete the setting method? See: https://vulcan-sql-document-git-chore-bump-to-040-vulcan-sql-document.vercel.app/docs/api-building/access-control/authenticators/http-basic#user-list
There was a problem hiding this comment.
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.
```yaml | ||
urlPath: /customer | ||
profiles: | ||
- pg-admin | ||
- pg-non-admin | ||
``` |
There was a problem hiding this comment.
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?
There was a problem hiding this 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 👍
Description
update authentication and authorization docs
Issue ticket number
None
Additional Context