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

Properly implement the OAuth2SecurityScheme #3090

Open
benfrancis opened this issue Apr 28, 2023 · 0 comments
Open

Properly implement the OAuth2SecurityScheme #3090

benfrancis opened this issue Apr 28, 2023 · 0 comments
Labels
w3c-compliance wot-profile W3C WoT Profile specification wot-thing-description W3C WoT Thing Description specification

Comments

@benfrancis
Copy link
Member

benfrancis commented Apr 28, 2023

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:

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.

@benfrancis benfrancis added w3c-compliance wot-thing-description W3C WoT Thing Description specification wot-profile W3C WoT Profile specification labels Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
w3c-compliance wot-profile W3C WoT Profile specification wot-thing-description W3C WoT Thing Description specification
Projects
None yet
Development

No branches or pull requests

1 participant