Giter Site home page Giter Site logo

Comments (8)

Widcket avatar Widcket commented on July 22, 2024 1

Yes, please check out https://github.com/auth0/Auth0.swift/blob/master/V2_MIGRATION_GUIDE.md.

from auth0.swift.

Widcket avatar Widcket commented on July 22, 2024 1

If the system date is incorrect, the ID token validation might fail. You can adjust the leeway value using leeway(:_): https://auth0.github.io/Auth0.swift/documentation/auth0/webauth/leeway(_:)

from auth0.swift.

isaacraja15 avatar isaacraja15 commented on July 22, 2024 1

Ok thanks for your help.

from auth0.swift.

Widcket avatar Widcket commented on July 22, 2024

Hi @isaacraja15, Auth0.swift 1.x is no longer supported. We recommend upgrading to v2.

from auth0.swift.

isaacraja15 avatar isaacraja15 commented on July 22, 2024

Do you have any migration documents for 1. x to 2. x

from auth0.swift.

isaacraja15 avatar isaacraja15 commented on July 22, 2024

Thank you for your help.
I did the migration 1. X to 2. X successfully. But I have one problem if the System date and time are set automatically means it's working fine.

if set automatically is turned off. then I tried to log in, but we were not able to log in. It shows the error below

Error: The ID token validation performed after authentication failed. CAUSE: Expiration time (exp) claim error in the ID token; current time (1693563166.529696) is after expiration time (1693540382.0)

In the screenshot highlighted place I'm getting Error.

image

from auth0.swift.

isaacraja15 avatar isaacraja15 commented on July 22, 2024

Thank you for your help.
Can you confirm I did it correctly? What is the limit leeway? i used 60 min that this correct

image

from auth0.swift.

Widcket avatar Widcket commented on July 22, 2024

As per the documentation shared, the value is in milliseconds. Also, kindly note that we do not provide code-level support; we use GitHub issues for feature requests and bug reports only, and this is neither. Please open a support ticket or refer to the Auth0 Community forums instead.

Screenshot 2023-08-31 at 1 48 11 PM

from auth0.swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.