On Tuesday, 18 June 2024 at 01:38:04 UTC, Vahid wrote:
Hi,
Has anyone here had experience implementing the Google Auth
Library in DLang? Specifically, I am looking for guidance on
handling OAuth 2.0 using JWT. Are there any current libraries
available for this purpose?
Oh a pain-point of D =(
The regular answer from D web-Gods: "oh it is very simple. just
implement it by yourself" :)
But we have something (not sure if anything from the list is
working):
Hunt solution (when I've tried it recently - it wasn't built and
gave me an error)
- https://code.dlang.org/packages/hunt-jwt (fork jwt)
---
Plain JWT
- https://code.dlang.org/packages/jwt (uses ideas of jwtd)
- https://code.dlang.org/packages/jwtd-es (fork jwtd)
- https://code.dlang.org/packages/jwtd
---
Vibe-based solutions
- https://code.dlang.org/packages/oauth
- https://code.dlang.org/packages/vibe-auth
---
ARSD CGI
- (openD) https://github.com/adamdruppe/arsd/blob/master/oauth.d
(OAuth 1.0)