Closed pedro-young-wedbush closed 4 weeks ago
Hey,
The version containing the custom login is out:
You can display your custom login screen initially, after you get an authenticated user you can load the Home UI component. In the login config you can supply an object of this type:
type: 'custom'; onLogout: () => void; user: CustomUser;
[cid:cf36eb09-e149-4664-bd55-898165a2679e]
Bogdan Dinchev
Consultant
@.***
From: pedro-young-wedbush @.> Sent: Tuesday, September 10, 2024 5:46 PM To: InteropIO/wedbush-io-browser @.> Cc: Bogdan Dinchev @.>; Mention @.> Subject: [InteropIO/wedbush-io-browser] SSO Integration with the Latest Interop.io (Issue #6)
@bogdandinchevhttps://github.com/bogdandinchev and @gganchev73https://github.com/gganchev73
Did the latest SSO pattern get released last week as you indicated earlier? If so, could you please share the details?
— Reply to this email directly, view it on GitHubhttps://github.com/InteropIO/wedbush-io-browser/issues/6, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFLNGQY2EF33KM5IDGMUO2LZV4A2ZAVCNFSM6AAAAABN657RMOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYTMNRYGI3DGMQ. You are receiving this because you were mentioned.Message ID: @.***>
I have committed an upgrade of the package in the repo: https://github.com/InteropIO/wedbush-io-browser/commit/544696af7b17550138a899349878626c9ae0ee63 The signature would look like this: login: { type: 'custom', onLogout: () => { // Custom logic when logging out }, user: { //the user obtained from your auth process id: string, username: string } }
type CustomUser = { id: string; username: string; }
[cid:b7c0f45e-8876-4256-b0a2-ad7fe99bea5d]
Bogdan Dinchev
Consultant
@.***
From: Bogdan Dinchev @.> Sent: Wednesday, September 11, 2024 1:32 PM To: InteropIO/wedbush-io-browser @.>; InteropIO/wedbush-io-browser @.> Cc: Mention @.> Subject: Re: [InteropIO/wedbush-io-browser] SSO Integration with the Latest Interop.io (Issue #6)
Hey,
The version containing the custom login is out:
You can display your custom login screen initially, after you get an authenticated user you can load the Home UI component. In the login config you can supply an object of this type:
type: 'custom'; onLogout: () => void; user: CustomUser;
[cid:cf36eb09-e149-4664-bd55-898165a2679e]
Bogdan Dinchev
Consultant
@.***
From: pedro-young-wedbush @.> Sent: Tuesday, September 10, 2024 5:46 PM To: InteropIO/wedbush-io-browser @.> Cc: Bogdan Dinchev @.>; Mention @.> Subject: [InteropIO/wedbush-io-browser] SSO Integration with the Latest Interop.io (Issue #6)
@bogdandinchevhttps://github.com/bogdandinchev and @gganchev73https://github.com/gganchev73
Did the latest SSO pattern get released last week as you indicated earlier? If so, could you please share the details?
— Reply to this email directly, view it on GitHubhttps://github.com/InteropIO/wedbush-io-browser/issues/6, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFLNGQY2EF33KM5IDGMUO2LZV4A2ZAVCNFSM6AAAAABN657RMOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYTMNRYGI3DGMQ. You are receiving this because you were mentioned.Message ID: @.***>
@bogdandinchev, Thank you for the quick turnaround. The solution you provided seems to work for us.
@bogdandinchev and @gganchev73
Did the latest SSO pattern get released last week as you indicated earlier? If so, could you please share the details?