Skip to content

Commit

Permalink
🔒 Make ozone api req to validate ACL on login
Browse files Browse the repository at this point in the history
  • Loading branch information
foysalit committed Mar 6, 2024
1 parent 58797d5 commit 1b95836
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ class ClientManager extends EventTarget {
identifier: handle,
password,
})
await agent.api.com.atproto.admin.getRepo(
{ did: login.did },
{ headers: this.proxyHeaders() },
)
this._session = {
service,
accessJwt: login.accessJwt,
Expand Down

0 comments on commit 1b95836

Please sign in to comment.