feat: Added logout url to an instance settings endpoint#4650
feat: Added logout url to an instance settings endpoint#4650
Conversation
taratatach
left a comment
There was a problem hiding this comment.
It should probably be added to the response from updateInstance() as well.
In fact, a helper to build this response for both methods would be nice.
Why do you need it in the updateInstance response? |
a94c763 to
29b55c2
Compare
The method returns an |
Yes, but it won't be called to have information about the instance, and specifically from the flagship app. |
29b55c2 to
11bf05f
Compare
11bf05f to
845a69c
Compare
…ce with logout url)
fix with the same code in updateInstance, yes, it's cahced for 60 min in the cozy-client, so I didn't find a place were we updating cozy-instance with client but anyway. You can create a separate issue for the refactoring because it's not so straightforward. We are calling an external service for a legal_notice_url, and errors should be treated more carefully. especially on instance update |
Specially for the flagship app.
To be able to initiate OIDC logout from the client app