An OpenID configuration endpoint lets a client discover an authorization server’s supported endpoints and protocol metadata before starting an authorization flow. A GET request requires no authentication. section 14.2
http://localhost:8080/.well-known/openid-configuration
Request http://localhost:8080/.well-known/openid-configuration to discover the server’s default endpoint paths. section 14.2
Discovery before authorization
A client first reads the configuration, then uses the returned authorization endpoint to request a code and the token endpoint to exchange it for tokens.

