rp

command module
v0.0.0-...-808b4f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2025 License: MIT Imports: 26 Imported by: 0

README

Example RP using go-oidfed library

This is an example RP that uses the go-oidfed library from this repository.

It is very rudimentary and by no-means meant as a production RP. It's just for demonstration purposes.

It also does not do anything useful.

How to deploy / setup

The gorp is provided as an docker image myoidc/oidfed-gorp.

One can run it like:

docker run -v gorp-keys:/keys -v /path/to/config/config.yaml:/config.yaml

However, you probably want to run it with other components, so a docker compose might make more sense. We provide an example set up it the ta example.

Here is an example config.yaml:

server_addr: ":3333"
entity_id: "https://gorp.fedservice.lh"
organisation_name: Example Organisation
trust_anchors:
  - entity_id: "https://trust-anchor.fedservice.lh/"
authority_hints:
  - "https://ia.fedservice.lh/"
key_storage: /keys
filter_to_automatic_ops: false
enable_debug_log: true

trust_marks:
  - id: https://example.com/trustmark
    trust_mark: "eyJhbGciOiJFUzUxMiIsImtpZCI6IlpsSFBmQXJTRnFGdjNHRlh3ZUptbmFkZDI4YTM4X3plcEJybEZkWHdIaTQiLCJ0eXAiOiJ0cnVzdC1tYXJrK2p3dCJ9.eyJleHAi...."

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL