authgear / authgear/authgear-server

[SDK] Update authenticate to handle OAuth cancel error

Open
#2,800 0 comments 0 reactions 0 assignees View on GitHub
cooldown/minor-feature
Dominant language
Go
Stars
2k
Forks
125
Avg merge
2d 17h
Merged PRs (30d)
32

Description

Should return the cancel error when authorization return `error=cancel` after `authenticate`. It is worth adding to all the SDKs, but we can add it to the native SDKs first.

- [X] iOS
- [X] Android
- [ ] React-native
- [ ] Flutter
- [ ] Xamarin

Contributor guide

Open the contributing guide

Research direction

Start at the authenticate flow in the React Native, Flutter, and Xamarin SDKs and trace how the authorization return value handles error=cancel. Implement the remaining SDK behavior so authenticate returns the cancel error, then verify each unchecked SDK’s cancellation path; iOS and Android are already marked complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, flutter, ios, react-native
Domain
authentication, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.