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

Authentication fails #1

Closed
frankmeeuwsen opened this issue Aug 29, 2023 · 2 comments
Closed

Authentication fails #1

frankmeeuwsen opened this issue Aug 29, 2023 · 2 comments

Comments

@frankmeeuwsen
Copy link

I tried a plain copy from your template with my own .env credentials. I made them as follows (fake handle & app-password of course

BSKY_PASSWORD=here-goes-app-pw
BSKY_HANDLE=myFabHandle

But I get an error when I build and run

XRPCError: Invalid identifier or password
at ServiceClient.call (/node_modules/@atproto/api/dist/index.js:7099:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BskyAgent.login (/node_modules/@atproto/api/dist/index.js:14759:19)
at async Bot.run (file:///dist/lib/bot.js:35:9)
at async file:///dist/index.js:3:14 {
status: 401,
error: 'AuthenticationRequired',
success: false

I changed the handle and password to a string, added them directly in config.ts line 14 and 15 but no luck. I tried the actual password but still no change in error. Might there be a change with the @atproto API? Anything else I can test?

@olfrygt
Copy link

olfrygt commented Oct 9, 2023

Hi Frank,
I received the same error but solved it by deleting the @ from the handle in .env, online username.bsky.social
Maybe this helps.

@josephwb
Copy link

josephwb commented Jun 20, 2024

Thanks @olfrygt your solution works perfectly :)

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

4 participants