LINE WORKS Developers

コミュニティ

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

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

SSO

Auth errors: Current time is earlier than NotBefore

画像

シャーバビック

2018.04.04既読 197

 

Hi There, 

 

We are working on line works SSO where we allow our users to get into our system from line works credentials. It was working fine on our staging instance but recently we are having an issue. We are getting below error consistently now.

 

Auth errors: Current time is earlier than NotBefore. 

 

Some time we found it working also but most of the time we are getting this error only. Our staging instance is on Amazon EC-2 in Oregon region. Googling on the issue we found there might be some issue with timezone which can be rectified by IDP end. 

 

More details :https://developer.uservoice.com/docs/single-sign-on/single-sign-on-with-saml/

 

Can you please confirm?

コメント3

  • 画像

    LINE WORKS 公式アカウント

    That error also happens when server time synchronization is not working correctly.​​
    What was the difference between "NotBefore" value in response and server's time?​
    Thanks.

    2018.04.04

    0
  • It looks like the time is same.. Copied it from Log.
    saml: Auth errors: Current time is earlier than NotBefore condition (2018/04/03 04:34 < 2018/04/03 04:34)

    2018.04.04

    0
  • 画像

    LINE WORKS 公式アカウント

    If you want compare correct time value, you should check the epoch time.
    What is the epoch ​time of "2018/04/03 04:34" ?
    Thanks.​

    2018.04.06

    0