aws-amplify / aws-amplify/amplify-android

[Feature Request] Add "setSignInUserSession" function

Open
#1,486 8 comments 2 reactions 0 assignees View on GitHub
auth feature-request
Dominant language
Java
Stars
287
Forks
132
Avg merge
2d 2h
Merged PRs (30d)
45

Description

Hello, in [amplify-js](https://github.com/aws-amplify/amplify-js/blob/main/packages/amazon-cognito-identity-js/src/CognitoUser.js) there is a `setSignInUserSession` function that allow us to set session tokens without using the `signIn` function, is it possible to have this feature in Android too? Thanks.

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

Contributor guide

Open the contributing guide

Research direction

Start by comparing the Android Cognito user/session APIs with setSignInUserSession in amplify-js's CognitoUser.js, and review the related amplify-flutter issue #845. Done means Android exposes an equivalent way to set session tokens without calling signIn, with behavior covered by the project's relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, aws, java
Domain
authentication, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.