You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extend Microsoft oidc provider in Kratos to support this case.
Would you accept such PR?
Workarounds or alternatives
Implement a service to process requests before they come to Kratos and convert identifiers.
The conversion might take long or even never end if some users might not choose to re-logion for long.
Version
0.8
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Preflight checklist
Describe your problem
In PHP world the socialite lib is a popular solution for OAuth logins such as Google, Apple and others.
In case of Microsoft provider they read user info from https://graph.microsoft.com/v1.0/me instead of the standard OAuth
userinfo
endpoint. This means that such users are identified by id received fromme
endpoint and not bysub
field fromuserinfo
.https://github.com/SocialiteProviders/Microsoft/blob/3f4ec79e65c3a403a5fe70cccd28d23802f1981e/Provider.php#L64
This makes it hard to migrate PHP systems to Kratos, as oidc Microsoft provider in Kratos relies on
sub
field as user identifier.Describe your ideal solution
Extend Microsoft oidc provider in Kratos to support this case.
Would you accept such PR?
Workarounds or alternatives
Implement a service to process requests before they come to Kratos and convert identifiers.
The conversion might take long or even never end if some users might not choose to re-logion for long.
Version
0.8
Additional Context
No response
The text was updated successfully, but these errors were encountered: