juxt / apex Goto Github PK
View Code? Open in Web Editor NEWA compendium of Clojure libraries for implementing web backends.
License: MIT License
A compendium of Clojure libraries for implementing web backends.
License: MIT License
I'm interested in using the OpenId part outside of Apex (*). I have been able to get your code working with Cognito. For Google It seems I'm getting an incomplete JWT token (see below). I'm not entirely sure how to test this with Apex (I would have to dive into the application structure). So I'm hoping you could confirm or deny that Google OpenId was working for you? If not, I might actually propose a fix later on.
Can you confirm you had success with Google? If so, I have broken something.
Error after receiving the JWT token (just before validation):
java.text.ParseException: Invalid serialized unsecured/JWS/JWE object: Missing second delimiter
at com.nimbusds.jose.JOSEObject.split(JOSEObject.java:228)
at com.nimbusds.jwt.SignedJWT.parse(SignedJWT.java:110)
at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:167)
at clojure.lang.Reflector.invokeStaticMethod(Reflector.java:332)
at juxt.apex.alpha.oauth2.jwt$signed_jwt.invokeStatic(jwt.clj:23)
at juxt.apex.alpha.oauth2.jwt$signed_jwt.invoke(jwt.clj:20)
(*) I would love to use Apex for other use cases though!
When adding apex as a dependency to deps.edn
; deps.edn
apex/apex {:mvn/version "0.0.2"}
I get the following error:
Error building classpath. Could not find artifact com.github.juxt:muuntaja:jar:0.6.4-juxt-2 in central (https://repo1.maven.org/maven2/)
This dependency seems to be not available as Maven "package":
I tried to include the custom apex version of that library and build the latest version using jitpack.io
; deps.edn
com.github.juxt/muuntaja {:mvn/version "0af289e"}
; ...
:mvn/repos
{...
"jitpack" {:url "https://jitpack.io"}}
but it still fails with the same error.
Any idea how I can access / build this version of the library?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.