authgear / authgear/authgear-server
Calling js SDK `authgear.promoteAnonymouserUser` in staging shows tabbed login/sign up screen, as opposed to the expected "Sign up to XXX" screen specifically for anonymous user
- Dominant language
- Go
- Stars
- 2k
- Forks
- 125
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 32
Description
**Describe the bug**
As titled.
**Authgear Version**
- Version: SaaS on `authgear-staging` as of 2023-02-06.
**To Reproduce**
Steps to reproduce the behavior:
1. Setup an app in authgear portal
2. Setup a RN app and integrate with authgear
3. Create an anonymous user in app
5. Call `authgear.promoteAnonymousUser`
6. Observe the usual tabbed sign up/login screen is shown
**Expected behavior**
At (6), the "Sign up to XXX" screen for anonymous user is shown.
**Client Env (if applicable, please complete the following information):**
Not relevant as it's in mobile. Using RN SDK on pixel 6a, Android 13.
**Additional context**
N/A
Contributor guide
Research direction
Reproduce the flow in an Authgear staging app using a React Native app on Android: create an anonymous user and call authgear.promoteAnonymousUser. Trace the promotion and login screen flow from that entry point; done means the anonymous-user flow shows the “Sign up to XXX” screen instead of the usual tabbed login/sign-up screen.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100