feat: Implement sso
This commit is contained in:
parent
8c469b6909
commit
1870f57747
6 changed files with 134 additions and 32 deletions
|
|
@ -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),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue