Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

[GNAP] Return current bootstrap data in auth response ID token #282

Open
Tracked by #1806
Moopli opened this issue Aug 3, 2022 · 0 comments
Open
Tracked by #1806

[GNAP] Return current bootstrap data in auth response ID token #282

Moopli opened this issue Aug 3, 2022 · 0 comments

Comments

@Moopli
Copy link
Contributor

Moopli commented Aug 3, 2022

After completing GNAP authorization, the wallet needs to call the auth server's bootstrap API to fetch current bootstrap data for the logged-in user. To avoid needing this call, the auth request handler and continue request handler could fetch the user's bootstrap data, and include it in the successful response. GNAP allows the Auth Server to create ID tokens to return in the auth/continue response on successful login, so we could create an ID token with custom claims for bootstrap data fields.

@Moopli Moopli moved this to Todo in TrustBloc Wallet/VCS Aug 3, 2022
@Moopli Moopli changed the title Return current bootstrap data in auth response sub_ids [GNAP] Return current bootstrap data in auth response sub_ids Aug 3, 2022
@Moopli Moopli changed the title [GNAP] Return current bootstrap data in auth response sub_ids [GNAP] Return current bootstrap data in auth response ID token Aug 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Status: Todo
Development

No branches or pull requests

1 participant