Skip to content
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

unsetDid for the client when logging out #83

Open
pradel opened this issue Feb 19, 2023 · 0 comments
Open

unsetDid for the client when logging out #83

pradel opened this issue Feb 19, 2023 · 0 comments

Comments

@pradel
Copy link
Contributor

pradel commented Feb 19, 2023

Description

In order to authenticate with composeDB we do the following to authenticate the requests.

composeClient.setDID(did);

When logging out there is no way to unset the did and do the next request as an unauthenticated user. It would be very handy to be able to do one of the following.

composeClient.setDID(null);
composeClient.unsetDid();

For now as a workaround I am doing the following

composeClient.setDID(null as any);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant