mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
Only authenticate the DID for the model the compose client connects to
This commit is contained in:
@@ -57,8 +57,7 @@ export const ComposeDBContextProvider: React.FC<PropsWithChildren> = ({
|
||||
accountId,
|
||||
);
|
||||
session = await DIDSession.authorize(authMethod, {
|
||||
// todo restrict this to only our composite
|
||||
resources: ['ceramic://*'],
|
||||
resources: composeDBClient.resources,
|
||||
});
|
||||
cacheDIDSession(session);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user