This is a WebExtensions-compatible DID Auth browser add-on that supports DID-based authentication and authorization on relying party web pages.
- Decentralized Identifiers (DIDs)
- DID Auth
- Verifiable Credentials
- Linked Data Signatures
- Linked Data Cryptographic Suites
- WebExtensions
- SweetAlert - MIT
Under development for a BCDevExchange opportunity. Note that the underlying technologies (DIDs, DID Auth, Verifiable Credentials) are still heavily evolving.
All repositories related to this project:
- https://github.com/bcgov/did-auth-extension - A DID Auth browser add-on (this repository)
- https://github.com/bcgov/did-auth-relying-party - A DID Auth relying party
- https://github.com/bcgov/http-did-auth-proxy - A DID Auth HTTP proxy
Example invocation JavaScript code on relying party web site that will invokve the DID Auth browser add-on:
window.postMessage({ type: "DID_AUTH", callback: url + "https://my_callback_url/" }, "*");
DID Auth relying party sample deployment: https://did-auth-relying-party.danubetech.com/
Installation on Firefox:
- Open
about:debugging
in Firefox. - Click 'Load Temporary Add-on".
- Open the
manifest.json
file in this repository.
Removal on Firefox:
- Open
about:addons
in Firefox. - Remove the add-on.
To report bugs/issues/feature requests, please file an issue.
If you would like to contribute, please see our CONTRIBUTING guidelines.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Copyright 2018 Province of British Columbia
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.