http

command module
v0.0.0-...-699167f Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 21 Imported by: 0

README

HTTP example usage

Before to start this example, change settings in the provider.go file.

Run the server and before run docs to generate swagger documentation.

make docs run-server

Set // Active: "noop" in provider.go can noop all middleware.

Send a request to the server.

make run-client

Notes

Before to start this example,
Add the http://localhost:3000/* in the valid redirect URIs
Add the http://localhost:3000 in the valid origins

Development

Keycloak

Run keycloak in docker

make keycloak

Open http://localhost:8080 and login with admin/admin.

We connect with oauth2 transport with our client id and secret. In server side we use the public key to verify the token.

Public key id find in the realms key settings.

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