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.