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
Is your feature request related to a problem? Please describe.
The getAuthorizationURL function within the AuthenticationCore class of the Asgardeo Auth JS Core currently only provides a GET request for authorization. However, for API-based authentication, POST requests are typically utilized. This limitation complicates the integration of the package into other SDKs that require API-based authentication.
Describe the solution you would prefer
Ideally, I'm requesting an extension of the getAuthorizationURL function to accommodate POST requests as well. This would involve enhancing the existing function to support both GET and POST methods for authorization, providing developers with a unified interface for authentication operations.
However, recognizing the generic nature of this package and the distinct concern of API-based authentication, if the above implementation is not feasible within the scope of the SDK, an alternative solution would involve separating the logic within the existing getAuthorizationURL function. By isolating the core logic, developers could then utilize this functionality to construct a POST request within their respective SDKs.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The getAuthorizationURL function within the AuthenticationCore class of the Asgardeo Auth JS Core currently only provides a GET request for authorization. However, for API-based authentication, POST requests are typically utilized. This limitation complicates the integration of the package into other SDKs that require API-based authentication.
Describe the solution you would prefer
Ideally, I'm requesting an extension of the getAuthorizationURL function to accommodate POST requests as well. This would involve enhancing the existing function to support both GET and POST methods for authorization, providing developers with a unified interface for authentication operations.
However, recognizing the generic nature of this package and the distinct concern of API-based authentication, if the above implementation is not feasible within the scope of the SDK, an alternative solution would involve separating the logic within the existing getAuthorizationURL function. By isolating the core logic, developers could then utilize this functionality to construct a POST request within their respective SDKs.
The text was updated successfully, but these errors were encountered: