コミュニティ

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

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

SSO

How to get WorksId for logged in User

Lokesh

2019.11.08既読 433

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
  • Lokesh 投稿者

    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
前の投稿 Not able to send message using URL Schema
次の投稿トークBotの複数テナントでの利用について