Revision 6f65ba13 docs/design/pithos-separate-view-domain.rst
b/docs/design/pithos-separate-view-domain.rst | ||
---|---|---|
91 | 91 |
|
92 | 92 |
For example:: |
93 | 93 |
|
94 |
snf-manage oauth2-client-add pithos-view --secret=12345 --is-trusted --url https://pithos.synnefo.live/pithos/ui/view
|
|
94 |
snf-manage oauth2-client-add pithos-view --secret=12345 --is-trusted --url https://node2.example.com/pithos/ui/view
|
|
95 | 95 |
|
96 | 96 |
Configure view credentials in Pithos |
97 | 97 |
------------------------------------ |
... | ... | |
129 | 129 |
request using TLS (with extra line breaks for display purposes only):: |
130 | 130 |
|
131 | 131 |
GET /astakos/oauth2/auth?response_type=code&client_id=pithos-view |
132 |
&redirect_uri=https%3A//pithos.synnefo.live/pithos/ui/view/b0ee4760-9451-4b9a-85f0-605c48bebbdd/pithos/image.png
|
|
132 |
&redirect_uri=https%3A//node2.example.com/pithos/ui/view/b0ee4760-9451-4b9a-85f0-605c48bebbdd/pithos/image.png
|
|
133 | 133 |
&scope=/b0ee4760-9451-4b9a-85f0-605c48bebbdd/pithos/image.png HTTP/1.1 |
134 | 134 |
Host: accounts.synnefo.live |
135 | 135 |
|
... | ... | |
169 | 169 |
Content-Type: application/x-www-form-urlencoded |
170 | 170 |
|
171 | 171 |
grant_type=authorization_code&code=SplxlOBeZQQYbYS6WxSbIA |
172 |
&redirect_uri=https%3A//pithos.synnefo.live/pithos/ui/view/b0ee4760-9451-4b9a-85f0-605c48bebbdd/pithos/image.png
|
|
172 |
&redirect_uri=https%3A//node2.example.com/pithos/ui/view/b0ee4760-9451-4b9a-85f0-605c48bebbdd/pithos/image.png
|
|
173 | 173 |
|
174 | 174 |
Access to the protected resource |
175 | 175 |
-------------------------------- |
Also available in: Unified diff