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

replicate: use bearer token instead of did #111

Merged
merged 1 commit into from
Jun 20, 2024
Merged

Conversation

TheButlah
Copy link
Contributor

@TheButlah TheButlah commented Jun 16, 2024

The previous DID stuff in the replicate crates were unecessary and too application specific. Its more useful to use a general bearer token, and leave how to validate that token and what its contents are up to the application.

A did-signed authentication attestation could just be a base64 signed message, and use that as the bearer token.

@TheButlah TheButlah requested a review from kayhhh June 16, 2024 00:54
@TheButlah TheButlah marked this pull request as draft June 16, 2024 00:56
@TheButlah TheButlah force-pushed the thebutlah/simplify-auth branch 2 times, most recently from 432599c to b7bb24e Compare June 16, 2024 00:59
@TheButlah TheButlah marked this pull request as ready for review June 16, 2024 01:00
@TheButlah
Copy link
Contributor Author

Forcing merge due to lack of review.

@TheButlah TheButlah merged commit 1c15ad0 into main Jun 20, 2024
3 checks passed
@TheButlah TheButlah deleted the thebutlah/simplify-auth branch June 20, 2024 01:34
TheButlah added a commit that referenced this pull request Jun 20, 2024
I've updated the code to properly spawn a future that will start the
tokio runtime and perform the necessary steps to connect to the
replicate manager.

Next step will be to use the newly connected manager resource to spawn
an instance. The video showcases the UI flows and how connecting to a
server that doesn't exist fails, but connecting to the one I start from
the command line with a valid url succeeds.

Rebased on #111 



https://github.com/NexusSocial/nexus-vr/assets/6969415/c2d1ee2f-593a-4ee4-a3a7-bd39ccdcc569
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

Successfully merging this pull request may close these issues.

1 participant