As per the new Boltwall Auth, SecondBrain Frontend requires information from the host app.
Second brain sends a message to the backend that needs to be signed by the lightning node, this happens through the app (Mac app, IOS or Kotlin) and the app gets it signed by passing it to relay, relay also sends it to the Lightning Node and it goes back to second Brain after the message has been signed by the Lightning Node.
frontend generates random message to sign
sends to app via sphinx-bridge SIGN
app signs via relay/LND
frontend sends message and signature to boltwall, as well as tribe host and UUID
boltwall verifies signature, calls /tribes/{UUID} to verify this is owner of tribe
From host app perspective, we need a way to do point 1-3
Task
As per the new Boltwall Auth, SecondBrain Frontend requires information from the host app.
Second brain sends a message to the backend that needs to be signed by the lightning node, this happens through the app (Mac app, IOS or Kotlin) and the app gets it signed by passing it to relay, relay also sends it to the Lightning Node and it goes back to second Brain after the message has been signed by the Lightning Node.
From host app perspective, we need a way to do point 1-3