You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.
I am using codegrant flow and everything as per the documentation works, I'm sure I can work around the silent refresh as well based on the provided comments. But the only issue I've been facing is "unable to set my custom headers"
I have to send Authorization as "Basic xxxxxxxxxx" along with 'Content-Type': 'application/x-www-form-urlencoded' as per my requirement. Unfortunately I don't see any feasibility in doing so.
Let me know if you have any other workaround for achieving this. because I made some modifications in the library and it worked for me.
Below are the changes in file:
HEADER: this.headers in constants header = { ...header }; in makePOSTRequest method.
I am using codegrant flow and everything as per the documentation works, I'm sure I can work around the silent refresh as well based on the provided comments. But the only issue I've been facing is "unable to set my custom headers"
I have to send Authorization as "Basic xxxxxxxxxx" along with 'Content-Type': 'application/x-www-form-urlencoded' as per my requirement. Unfortunately I don't see any feasibility in doing so.
Let me know if you have any other workaround for achieving this. because I made some modifications in the library and it worked for me.
Below are the changes in file:
Below is the configuration:
I have also attached the modified file here.
CognitoAuth.txt
I have a critical deadline to fix this issue.
Appreciate your quick thoughts on this.
The text was updated successfully, but these errors were encountered: