www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Google Auth API

reply Vahid <sabeti.ltd gmail.com> writes:
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?
Jun 17
next sibling parent Sergey <kornburn yandex.ru> writes:
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)
Jun 19
prev sibling next sibling parent aberba <karabutaworld gmail.com> writes:
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?
This is why I can't use D for work. Working with cloud services is a major challenge without these SDKs.
Jun 23
prev sibling parent aberba <karabutaworld gmail.com> writes:
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?
You may reference https://forum.dlang.org/post/nqkaaemzsheljxnifhym forum.dlang.org You may reach out to Adam, he most likely have code for this somewhere.
Jun 23