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

Should Solid specify a syntax for Realm? #166

Open
bblfish opened this issue Apr 25, 2021 · 1 comment
Open

Should Solid specify a syntax for Realm? #166

bblfish opened this issue Apr 25, 2021 · 1 comment
Labels
HttpSig Solid-OIDC Solid-OIDC Authentication Spec - Draft

Comments

@bblfish
Copy link
Contributor

bblfish commented Apr 25, 2021

I am trying to work out what the meaning of Realm could be in HttpSig. Do we use it consistently elsewhere?

An obvious way to use it would be to have it related to Containers and subcontainers.
Perhaps the following would say that any authentication is ok for any sub resource in "/comments/"?

HTTP/1.1 401 Unauthorized
WWW-Authenticate: HttpSig realm="/comments/"
Date: Thu, 01 Apr 2021 00:01:03 GMT
Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel=type
Link: <http://www.w3.org/ns/ldp#Resource>; rel=type
Link: </comments/.acl>; rel=acl

or should it be something with some form of regex as in

HTTP/1.1 401 Unauthorized
WWW-Authenticate: HttpSig realm="/comments/**"
Date: Thu, 01 Apr 2021 00:01:03 GMT
Link: <http://www.w3.org/ns/ldp#BasicContainer>; rel=type
Link: <http://www.w3.org/ns/ldp#Resource>; rel=type
Link: </comments/.acl>; rel=acl
@bblfish bblfish added HttpSig Solid-OIDC Solid-OIDC Authentication Spec - Draft labels Apr 25, 2021
@elf-pavlik
Copy link
Member

elf-pavlik commented Apr 26, 2021

#9 includes some thoughts on realm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HttpSig Solid-OIDC Solid-OIDC Authentication Spec - Draft
Projects
None yet
Development

No branches or pull requests

2 participants