Mee6
Mee6
CC#
Created by Mee6 on 1/20/2024 in #help
Is there a way to authenticate using OAuth2 token and map it to internal JWT
That's a good way to think about this, yes - you're right. However we are kinda dependant on swagger for testing purposes
4 replies
CC#
Created by Mee6 on 1/20/2024 in #help
Is there a way to authenticate using OAuth2 token and map it to internal JWT
Or maybe just a way to force Swagger to post the token to the endpoint, so we can manually: Authorize Oauth2 -> send a request to an endpoint and grab JWT -> Authorize JWT
4 replies
CC#
Created by Mee6 on 11/13/2023 in #help
Endpoint routing how to support users/me and users/<id>
Multiple controllers with different routes?
8 replies
CC#
Created by Mee6 on 11/13/2023 in #help
Endpoint routing how to support users/me and users/<id>
for example: /users/me/items will get the items from the current user thanks to JWT, but how at the same time can I support /users/<id>/items?
8 replies