Hello everyone,
I'm trying to integrate our Oauth2 APIs in our AppSmith applications. The API is correctly responding, but AppSmith returns a nginx error 405.
Attached you can find both the configuration i'm using for the API, and the response. What can i do to be able to read the access_token i'm receving as response?
#OAuth2 Authentication API issues
1 messages · Page 1 of 1 (latest)
Hey There,
We've registered your query, and our team will get back to you soon.
Regards,
Team Appsmith
Thanks :°)
Hello @cyan cave , have you tried using our authenticated API to perform OAuth2 authentication?
I don't need authentication to run the api, i need to send credentials to the Oauth2 API to authenticate different users
I think the authentication API can still serve the purpose.
What kind of credentials if I may ask?
Do they need to be part of the request body or reqeust header?
should be in the body
This should work with the normal API in that case
but it's giving 405 METHOD NOT ALLOWED
Method not allowed should be an error from your API, not on appsmith.
Maybe you're using a GET method where you're supposed to be using a POST method
as per first screenshot, i'm using a POST
Hello @cyan cave , could you please try running your API in an external manager like Postman to check that this is a bug in Appsmith?
Managed to solve another way, instead of embedding FusionAuth API, i'm using their login page, and passing via URL parameters all the required values (code_challenge, client_id etc etc)
That's great! Has this resolved your issue?
Yes