Comments (3)
This errors seems unrelated to buddy. Because buddy as is does not format errors in this way.
Also, the token
function seems to using encrypt
for generate token, but later you are using :rs256
and jws backend that are signature based. If you want to generate token compatible with jws backend you need to use the same options for both and use jwt/sign
instead of jwt/encrypt
.
from buddy-auth.
ah yeah i should have commented that out, I'm using tokens from another server that's written with spring/oauth/etc , so that's not used in my code. I've just pulled in the public key from that server
from buddy-auth.
Ugh, it's a compojure-api issue. Sorry about that.
from buddy-auth.
Related Issues (20)
- Wording, spelling, grammar HOT 6
- Rate Limiting? HOT 1
- Not possible to modify content-type? HOT 1
- Allow for successful authorization of requests that already contain :identity HOT 1
- Document available options HOT 2
- Default token name for JWS should be Bearer? HOT 2
- Adding a transformation function to jwt/jws backends. HOT 1
- "No implementation of method: :-to-bytes of protocol:" error using jws-backend with RSA key HOT 8
- Able to skip auth for OPTIONS requests? HOT 1
- Delay the decision of which secret to use HOT 2
- http-basic doc need amending HOT 1
- Support async handlers HOT 5
- Regarding fn->multi macro HOT 5
- buddy.auth.backends.token/handle-unauthorized-default violates RFC 7235 section 4.1. WWW-Authenticate
- Authorization: Bearer XXX as well a Token? HOT 1
- Authorization scheme for HTTP Basic Authentication should be case insensitive
- wrap-authorization ignores 'raised' unauthorized exceptions in async mode
- Authenticating with Firebase token is impossible the secret changes dynamically HOT 1
- New maintaner 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 buddy-auth.