New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add management API v1 #740
Conversation
82d5c43
to
0ba0eba
Compare
|
0ba0eba
to
3dbe67c
Compare
777eb8e
to
e50e077
Compare
f1dd115
to
7b33efc
Compare
check_query_parameters! | ||
check_content_type! | ||
payload = check_jwt!(jwt) | ||
env['rack.input'] = StringIO.new(payload.fetch(:data, {}).to_json) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Normally payload is base 64 encoded, please double check the RFC
payload
The "payload" member MUST be present and contain the value
BASE64URL(JWS Payload).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mod It is handled by jwt-multisig gem. Check this https://github.com/rubykube/jwt-multisig/blob/master/lib/jwt-multisig.rb#L115
Introducing Management API Alpha version, provide the ability to manage deposits and withdrawal with third-party RSA signed payload, Now Barong and AppLogic application can participate in fiat transfer logic.
No description provided.