I am working on implementing OpenID Connect which is using WebFinger discovering as a authorization server, there should be support for WebFinger. I looked at the WebFinger specification and found an example like this
GET /.well-known/webfinger?
resource=acct%3Acarol%40example.com&
rel=http%3A%2F%2Fopenid.net%2Fspecs%2Fconnect%2F1.0%2Fissuer
HTTP/1.1
Host: example.com
My question is that how can I make .well-known/webfinger like url pattern in Plone.
More help about WebFinger is welcome as I am newbie about this protocol
First you need to implement the related functionality (no idea what is needed under the hood for your usecase) as a Browser View ...documented in the Plone docs.
Another issue is the traversal to .well-known/webfinger ..I assume you could register your browser view for name=".wellknown" and use subpath traversal for the webfinger part...or you register your browser under an arbitrary name and configure your front-end proxy (Apache, Nginx or something similar) for performing a rewrite to the related browser view name.