Comments (11)
Hi,
I have just released few days ago a package called google-oauth2-jwt that create the signed JWT needed to access Google APIs with Service Accounts.
BTW: your issue #16 also need it.
Best regards,
Michel.
from hoauth2.
@MichelBoucey nice! will take an look.
from hoauth2.
@MichelBoucey just be curious that are you able to build http://hackage.haskell.org/package/google-oauth2-jwt on latest mac?
Gets linking error
Undefined symbols for architecture x86_64:
"_DHparams_dup", referenced from:
_HsOpenSSL_DHparams_dup in libHSHsOpenSSL-0.11.1.1-42cQLUu6Nm37qCxYZlRnxo.a(HsOpenSSL.o)
(maybe you meant: _HsOpenSSL_DHparams_dup)
"_X509_CRL_get0_by_serial", referenced from:
_cZGG_info in libHSHsOpenSSL-0.11.1.1-42cQLUu6Nm37qCxYZlRnxo.a(Revocation.o)
"_X509_STORE_CTX_get0_current_crl", referenced from:
_HsOpenSSL_X509_STORE_CTX_get0_current_crl in libHSHsOpenSSL-0.11.1.1-42cQLUu6Nm37qCxYZlRnxo.a(HsOpenSSL.o)
(maybe you meant: _HsOpenSSL_X509_STORE_CTX_get0_current_crl)
"_X509_STORE_CTX_get0_current_issuer", referenced from:
_HsOpenSSL_X509_STORE_CTX_get0_current_issuer in libHSHsOpenSSL-0.11.1.1-42cQLUu6Nm37qCxYZlRnxo.a(HsOpenSSL.o)
(maybe you meant: _HsOpenSSL_X509_STORE_CTX_get0_current_issuer)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
`gcc' failed in phase `Linker'. (Exit code: 1)
from hoauth2.
I have no Mac. I work on Linux x86_64. I never have had this issue and the build on travis CI is also Okay... Do you build the package with Stack? Have you OpenSSL sources installed? There is an ongoing issue about building HsOpenSSL on Mac OS X.
from hoauth2.
@MichelBoucey thanks your feedback. I did find that link which help to me to install the HsOpenSSL but I got error at linking.
Turns out it's specific issue in Mac and I'm running it in CentOS now.
from hoauth2.
@freizl RedHat/CentOS are very LTS distros, so they use very old versions of libraries and softwares. A successful build should be easer to get on a current Debian(-like) distro or ArchLinux.
from hoauth2.
thoughts:
maybe put it in an separated repo?
from hoauth2.
Can't you develop the service account branch in a debian/archlinux docker container?
from hoauth2.
I'm not yet an fan of docker container but I have bootstrapped an linux vm.
It's still in progress in very low pace if you are interested: https://github.com/freizl/hoauth2/compare/branch/service-account?expand=1
And I'm wondering all those changes shall live in its own repo given it seems special to google implementation.
from hoauth2.
I have built branch/service-account without any troubles on ArchLinux x86_64 (discarding all examples test searching for "Keys").
And yes it seems to me also that a specific package is a bit better outside an only generic implementation package, at least, in an obviously specific module Network.OAuth.OAuth2.Google .
from hoauth2.
Network.OAuth.OAuth2.Google
seems an good name. Thanks!
from hoauth2.
Related Issues (20)
- Shall `mkAuthorizationRequest` return `URI` instead of `Text`
- Rename mkAuthorizeRequest HOT 1
- Rename Facebook to Meta HOT 1
- Move `defaultXXXApp` to hoauth2-demo and rename to `SampleXXXAuthCodeApp` HOT 1
- Unable to parse Client credential token response error (Okta)
- Try DataKind on IdpName that is Enum type HOT 1
- Fixes sample.env.json HOT 1
- Fixes the parameter order in the OAuth2 http client
- Use some approaches to create all possible `IdpName` for UI to render
- `data RefreshTokenRequest` looks unnecessary
- `Data.HashMap` v.s. `Data.Map`
- Add experiment module sample app into hoauth2-tutorial
- Rename OAuth2Token to TokenResponse
- Move `OAuth.OAuth2.hs` to `OAuth2.hs`
- Consider to remove those deprecated methods
- `Idp i` and type safety
- CHANGELOG missing HOT 2
- Candidate for 2.11.0 has outdated dependencies HOT 1
- Strengthen `base` lower bound to `>= 4.14`. HOT 1
- hoauth2-providers 0.7.1 build fail HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hoauth2.