done
what is
- authority
- audience
check builder.Services.AddDistributedMemoryCache(); // For development. In production, use Redis or SQL Server
Realm OpenID Endpoint Configuration: http://localhost:8080/realms/poc/.well-known/openid-configuration
curl -X POST "https:///auth/realms//protocol/openid-connect/token"
-H "Content-Type: application/x-www-form-urlencoded"
-d "client_id="
-d "client_secret="
-d "grant_type=client_credentials"
curl -X POST "https:///auth/realms//protocol/openid-connect/token"
-H "Content-Type: application/x-www-form-urlencoded"
-d "client_id="
-d "username="
-d "password="
-d "grant_type=password"