feat: Implement sso

This commit is contained in:
Christian Pauly 2021-01-18 22:59:02 +01:00
commit 1870f57747
6 changed files with 134 additions and 32 deletions

View file

@ -156,8 +156,13 @@ class MatrixState extends State<Matrix> {
),
);
default:
Logs().w('Warning! Cannot handle the stage "$stage"');
return;
await widget.apl.currentState.pushNamed(
'/authwebview/$stage/${uiaRequest.session}',
arguments: () => null,
);
return uiaRequest.completeStage(
AuthenticationData(session: uiaRequest.session),
);
}
}