Proxy should only work with claims #40
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_proxy#40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Today the proxy carries two parallel authorization vocabularies:
auth_mode(none/bearer/oauth/signature),oauth_provider,allowed_pubkeys, plus per-providerallowed_emails.X-Hero-Claims. Per home#191, no backend currently enforces on it.Direction: the proxy should only work with claims. Authentication is whatever produces claims; routes declare what claims they require; backends consume
X-Hero-Claims. The first vocabulary collapses into the second.@lee Kristof suggested you could have a look at this.
the title is wrong,
auth = auth, means login
claims, means define what user has access too
its not OR