amplify-swift icon indicating copy to clipboard operation
amplify-swift copied to clipboard

[Feature Request] Add "setSignInUserSession" function

Open fpabl0 opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe.

A problem not, but a use case. We have an application that allow users to sign in using the cognito client libraries and through our own server using the cognito admin API. In JS, this could be accomplished easily using the function setSignInUserSession, but here there isn't something like that.

Describe the solution you'd like

Add a setSignInUserSession function just like it is done in amplify-js.

Related to https://github.com/aws-amplify/amplify-flutter/issues/845.

Describe alternatives you've considered

I think the above solution would be the best one, as it matches the API offered by Amplify in other language (JS).

Is the feature request related to any of the existing Amplify categories?

Auth

Additional context

No response

fpabl0 avatar Sep 06 '21 14:09 fpabl0

Similar request - https://github.com/aws-amplify/amplify-ios/issues/1543

royjit avatar Sep 16 '22 19:09 royjit

The same feature is discussed in the amplify-android SDK here.

flodaniel avatar Jan 05 '23 10:01 flodaniel