https://github.com/passageidentity/passage-go
Passkey Complete for Go - Integrate into your Go API or service to enable a completely passwordless standalone auth solution with Passage by 1Password
https://github.com/passageidentity/passage-go
1password authentication biometrics ciam go golang identity magic-links oauth2 oidc otp passage passage-sdk passkey-complete passkeys passwordless webauthn
Last synced: 5 months ago
JSON representation
Passkey Complete for Go - Integrate into your Go API or service to enable a completely passwordless standalone auth solution with Passage by 1Password
- Host: GitHub
- URL: https://github.com/passageidentity/passage-go
- Owner: passageidentity
- License: mit
- Created: 2021-06-16T21:27:30.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-18T22:37:56.000Z (5 months ago)
- Last Synced: 2024-11-18T23:34:29.956Z (5 months ago)
- Topics: 1password, authentication, biometrics, ciam, go, golang, identity, magic-links, oauth2, oidc, otp, passage, passage-sdk, passkey-complete, passkeys, passwordless, webauthn
- Language: Go
- Homepage: http://docs.passage.id/complete
- Size: 257 KB
- Stars: 26
- Watchers: 5
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README




## About
[Passage by 1Password](https://1password.com/product/passage) unlocks the passwordless future with a simpler, more secure passkey authentication experience. Passage handles the complexities of the [WebAuthn API](https://blog.1password.com/what-is-webauthn/), and allows you to implement passkeys with ease.
Use [Passkey Flex](https://docs.passage.id/flex) to add passkeys to an existing authentication experience.
Use [Passkey Complete](https://docs.passage.id/complete) as a standalone passwordless auth solution.
Use [Passkey Ready](https://docs.passage.id/passkey-ready) to determine if your users are ready for passkeys.
### In passage-go
Use passage-go to implement Passkey Complete into your Go backend to authenticate requests and manage users.
| Product | Compatible |
| ---------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
|  Passkey **Flex** | ✖️ For Passkey Flex, check out the [Passkey Flex APIs](https://docs.passage.id/flex/apis) |
|  Passkey **Complete** | ✅ |
|  Passkey **Ready** | ✖️ For Passkey Ready, check out [Authentikit](https://www.npmjs.com/package/@passageidentity/authentikit) |## Getting Started
### Check Prerequisites
You'll need a free Passage account and a Passkey Complete app set up in Passage Console to get started.
Learn more about Passage Console →### Install
```shell
go get github.com/passageidentity/passage-go
```### Import
```go
import (
"github.com/passageidentity/passage-go"
)
```### Initialize
```go
psg, err := passage.New(os.Getenv("PASSAGE_APP_ID"), &passage.Config{APIKey: os.Getenv("PASSAGE_API_KEY")})
```### Go Passwordless
Find all core functions, user management details, and more implementation guidance on our [Passkey Complete Go Documentation](https://docs.passage.id/complete/backend-sdks/go) page.
## Support & Feedback
We are here to help! Find additional docs, the best ways to get in touch with our team, and more within our [support resources](https://github.com/passageidentity/.github/blob/main/SUPPORT.md).
---
![]()
Passage is a product by 1Password, the global leader in access management solutions with nearly 150k business customers.
This project is licensed under the MIT license. See the LICENSE file for more info.