- Spring boot 3.0.6
- JDK 17
- ReactJS
POST /fdc3/v1/auth/jwt
{
"jwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ0ZXN0IjoyfQ.dEHiqvpIWH7WDBumDsAcLoxf_CBVTIhPe0nwgag54Dp5H3NnHY_av0KyLh0pXyXF02TeNa_6v6Eb6sh6eHKv1EbWzd96btakFmoSQ3UYCIdsAq9OLj9xTbOVLvPUtdwsUPcUnCabTuUtGCwJzW1d6Sp9EBpL2KNZK2GhMwh29fEMsZmWOE2zydR8deujz-A3PFob4zeQgpP5EKQ5mKzwU7mvl9nStS7XqdcTJtztv5WRTyGDDuia3dO43nPTam61bdQL2nRE441i_tbiEuqnx4eom3CiTej0dusowTSVsl8m0t3m4kxjeDERpynhhZ842iigDY7GYjm62IC3riYA2g",
}
Response
- 200: jwt is valid, with UserClaim payload
- 400: jwt is not valid, bad request
- 500: server error
- clone the Sail app locally: https://github.com/finos/FDC3-Sail
- take the
local.v2.json
file from this project and paste it in the Sail/directory
folder - in
local.v2.json
: -
- for the
fdc3-share-identity
app, update thedetails.url
with the application URL
- for the
-
- for the
symphony
app:
- for the
-
-
- update the
details.url
with your target Symphony pod URL
- update the
-
-
-
- add also this URL to the
hostManifests.sail.allowedOrigins
- add also this URL to the
-
Symphony Pod URL must be configured in the application.yaml
, from where the public key is pulled and used to validate the jwt in the http request.
app:
pod-uri: https://st3.symphony.com
- start the FDC3 Sail app with:
npm install
export SAIL_DIRECTORY_URL=directory/local.v2.json
npm start
- from Sail, open the Symphony app (for now it's pointing at st3 pod)
- log in with an account
- open the CleverTrade Portfolio app
- click the Login button (it opens the Symphony app with the previously logged in user)
- click "Accept" form the dialog that appeared on the Symphony app
- focus the CleverTrade Portfolio app, it should show success statuses for all steps and redirect to the custom portfolio view
For any questions, bugs or feature requests please open an issue For anything else please send an email to {project mailing list}.
To submit a contribution:
- Fork it (https://github.com/finos/fdc3-identity-hackathon/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Read our contribution guidelines and Community Code of Conduct
- Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
Copyright 2023 Symphony LLC
Distributed under the Apache License, Version 2.0.
SPDX-License-Identifier: Apache-2.0