-
Notifications
You must be signed in to change notification settings - Fork 330
Open
Labels
w3c-compliancewot-profileW3C WoT Profile specificationW3C WoT Profile specificationwot-thing-descriptionW3C WoT Thing Description specificationW3C WoT Thing Description specification
Milestone
Description
Currently Thing Descriptions claim that WebThings Gateway implements the OAuth2SecurityScheme. However, I've noticed that this is not fully implemented in the way that third party services might expect.
For example it should be possible to:
- Authenticate arbitrary web services with the gateway, by prompting a user for their username and password (see OAuth Third-party registration #340)
- Issue both API access tokens with an expiry date (see Token expiry #133), and refresh tokens (see OAuth Authorization Grants and JWT Expiry #339)
- Support more granular permissions (see Oauth read/write separate permissions for each thing #1678)
- Revoke refresh tokens
- Support security bootstrapping (respond with the correct
302or303response which redirects to the authentication endpoint, rather than401)
There are also some strange implementation details in the way JWTs are used, like kid headers being used to identify individual JWTs, instead of a jti in the JWT payload.
The current implementation provided by the gateway is more like the simpler BearerSecurityScheme.
Metadata
Metadata
Assignees
Labels
w3c-compliancewot-profileW3C WoT Profile specificationW3C WoT Profile specificationwot-thing-descriptionW3C WoT Thing Description specificationW3C WoT Thing Description specification
Type
Projects
Status
Product Backlog