provide owa discovery

This commit is contained in:
zotlabs 2017-09-07 19:04:35 -07:00
parent 1fbb1e6c2a
commit 048a8c5f44

View File

@ -125,6 +125,13 @@ class Wfinger extends \Zotlabs\Web\Controller {
'href' => z_root() . '/.well-known/zot-info' . '?address=' . $r[0]['xchan_addr'],
],
[
'rel' => 'http://purl.org/openwebauth/v1',
'type' => 'application/x-zot+json',
'href' => z_root() . '/owa',
],
[
'rel' => 'magic-public-key',
'href' => 'data:application/magic-public-key,' . salmon_key($r[0]['channel_pubkey']),