Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.
This repository was archived by the owner on May 8, 2025. It is now read-only.

token is unverifiable: signing method (alg) is unavailable #5

Description

@eeshankeni

Hi, I'm getting this error when trying to log in. Can confirm my handle and appkey are correct. If they are not, I do indeed get the second error. Right now it directly takes me to the third case and prints the error "token is unverifiable: signing method (alg) is unavailable"

blueSkyClient, err := bluesky.Dial(ctx, bluesky.ServerBskySocial)
if err != nil {
	panic(err)
}

defer blueSkyClient.Close()

err = blueSkyClient.Login(ctx, blueskyHandle, blueskyAppkey)

switch {
case errors.Is(err, bluesky.ErrMasterCredentials):
	panic("You're not allowed to use your full-access credentials, please create an appkey")
case errors.Is(err, bluesky.ErrLoginUnauthorized):
	panic("Username of application password seems incorrect, please double check")
case err != nil:
	fmt.Println(err)
	panic("Something else went wrong, please look at the returned error")
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions