remove MiAuth #225
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
With the work towards adding OAuth, keeping MiAuth would basically undermine the security that OAuth is supposed to provide. It is by my consideration also generally unsafe. In Oauth terminology it is a implicit grant with unregistered clients which are two things that are not recommended by the security best practices and would require more security consideration which I highly doubt has taken place.
This includes at least the following tasks:
server/api/index.ts
for some reason)AccessToken
features.miauth
attribute from the meta endpointInteresting question that I didn't realize yet: There is this thing in settings where you can manually generate a token. That is built on MiAuth.
The question being: Do we want to keep that kind of thing or will we require everyone to use OAuth for that? I guess the use case for something like this would be for building bots that will only require a token once.
That of course doesn't mean we have to keep MiAuth around, can just as well implement that on top of the OAuth mechanism with a "internal" app that redirects back to the UI.
For sure yes.
Yeah, that sounds good to me.
In the process of trying to debug #351 I noticed that Milktea - which seems to be used by quite a few Foundkey users - does not use Miauth but instead uses App Auth. I don't know if we can take that to be an indication of anything, but if yes then it is a good one.