mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
2cbc591ff6
* feat: support direct sign-in * chore: add changesets * refactor: add test cases * chore(deps): upgrade logto sdks
873 B
873 B
@logto/experience | @logto/core |
---|---|
minor | minor |
support direct sign-in
Instead of showing a screen for the user to choose between the sign-in methods, a specific sign-in method can be initiated directly by setting the direct_sign_in
parameter in the OIDC authentication request.
This parameter follows the format of direct_sign_in=<method>:<target>
, where:
<method>
is the sign-in method to trigger. Currently the only supported value issocial
.<target>
is the target value for the sign-in method. If the method issocial
, the value is the social connector'starget
.
When a valid direct_sign_in
parameter is set, the first screen will be skipped and the specified sign-in method will be triggered immediately upon entering the sign-in experience. If the parameter is invalid, the default behavior of showing the first screen will be used.