Open Edouard127 opened 2 years ago
I was able to reproduce this issue using the Discord documentation.
And I have something to add to the Issue: In accordance with the relevant RFCs, the token and token revocation URLs will only accept a content type of application/x-www-form-urlencoded. JSON content is not permitted and will return an error.
https://discord.com/developers/docs/topics/oauth2#shared-resources-oauth2-urls
I am still able to reproduce this issue
Version 5.0.0-1648802546.c9880dc
@Intevel Any update on this ?
@Edouard127 I will take a look at it.
I don't know why this was closed, this wasn't fixed.
I shouldn't have closed it
So I think, this module is not really maintained anymore. We need an option for every Provider to specific the Request Method. I don't know if we should implement this.
Any versions
Nuxt configuration
-->
Reproduction
What is expected?
Logging out and redirecting to the main page (defined in the config)
What is actually happening?
Sending a GET request, does logout but doesn't revoke the access token and print the API error message ( {"message": "405: Method Not Allowed", "code": 0} )