LINE WORKS Developers

コミュニティ

LINE WORKSのテクニカルエキスパート及び開発者と
コードのサンプル、リソース、Tip等を共有し問題解決への相談が可能です。

??dev_메인_타이틀_모바일_ja_JP??

SSO

How to get WorksId for logged in User

画像

Lokesh

2019.11.08既読 42

Hello Team,

Could you please help me, how can i get works id of User.

Thank you.

コメント3

  • 画像

    LINE WORKS 公式アカウント

    There is no API for checking logged-in users.
    To check the latest login time, check the usage status from the security on the administrator screen.

    2019.11.08

    0
  • Thank you for your reply.

    In my web application, I need to show logged in user LineWorks id when he successfully logs in using LineWorks OAuth. How could I achieve it?

    2019.11.08

    0
  • 画像

    LINE WORKS 公式アカウント

    See step 10 on the OAuth page.
    https://developers.worksmobile.com/jp/document/1001070101?lang=en

    The IDP should know the ExternalKey of the logged-in user, so Get a Member API can view user information with the ExternalKey.
    https://developers.worksmobile.com/jp/document/100300507?lang=en

    The email parameter is the login user's accountId.

    2019.11.12

    0