Comments (8)
Yes, please check out https://github.com/auth0/Auth0.swift/blob/master/V2_MIGRATION_GUIDE.md.
from auth0.swift.
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.
Ok thanks for your help.
from auth0.swift.
Hi @isaacraja15, Auth0.swift 1.x is no longer supported. We recommend upgrading to v2.
from auth0.swift.
Do you have any migration documents for 1. x to 2. x
from auth0.swift.
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](https://private-user-images.githubusercontent.com/44321070/264634204-b9813191-3a28-4cdf-9716-22439533dcbb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDQwNDg2MDAsIm5iZiI6MTcwNDA0ODMwMCwicGF0aCI6Ii80NDMyMTA3MC8yNjQ2MzQyMDQtYjk4MTMxOTEtM2EyOC00Y2RmLTk3MTYtMjI0Mzk1MzNkY2JiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyMzEyMzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjMxMjMxVDE4NDUwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUzOGE2OTczZGIwZDVmZjE1OGUxY2U3NWFmNGUwMmQ3MDAyNGQyYzVjZTNkZWMyOGQ0ZTRmODFlNzIzNjZhNTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.kuYs-MwbsrXS4jwoF2kvgSYAE56ebes3GhrgP2IXxGc)
from auth0.swift.
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](https://private-user-images.githubusercontent.com/44321070/264643539-ec9055ad-94df-4bd4-a03f-dd70981b6c59.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDQwNDg2MDAsIm5iZiI6MTcwNDA0ODMwMCwicGF0aCI6Ii80NDMyMTA3MC8yNjQ2NDM1MzktZWM5MDU1YWQtOTRkZi00YmQ0LWEwM2YtZGQ3MDk4MWI2YzU5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyMzEyMzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjMxMjMxVDE4NDUwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVkMDA4OGUxNDM2MTdkODFlZmU5ZDJjNGMwYTc4MTgzNzdlYzRlMzBlZDYzODgyZjNjYzQ1NWUzMTg4OGQwMDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.1a0HmOUTvUUt1MbaOanL6g4uX-ijnm_QjsA0aNxi0bI)
from auth0.swift.
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](https://private-user-images.githubusercontent.com/5055789/264649013-58fb73f1-2fc1-47d4-86a4-97f8b734d1c9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDQwNDg2MDAsIm5iZiI6MTcwNDA0ODMwMCwicGF0aCI6Ii81MDU1Nzg5LzI2NDY0OTAxMy01OGZiNzNmMS0yZmMxLTQ3ZDQtODZhNC05N2Y4YjczNGQxYzkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDIzMTIzMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyMzEyMzFUMTg0NTAwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTZhNTQwODE1NGQxMTUyZGFhNDEyNzE3NjcyOTE0MTI2MmMyMjAxNjMzN2JkMGNiODczMjZiZTIzN2ZlYjNjYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.EHMUWUV0Ksgy0_AI-Rsvyv1F8b7G3aBwZmOU4hZx_lU)
from auth0.swift.
Related Issues (20)
- webAuth() leaks continuation when using SFSafariViewController and formSheet presentation style
- The credentials renewal failed. CAUSE: Unknown or invalid refresh token. HOT 23
- iOS Framework depending on Auth0 fails to build due to SimpleKeychain HOT 1
- SFSafariViewController (SwiftUI) HOT 2
- Support configuring endpoint HOT 2
- Swift Cannot read properties of undefined (reading ‘passwordless_method’) HOT 1
- AQA testing cannot access web context on web auth with auth0. HOT 3
- CI build error due to recent Package.swift update HOT 13
- Versions prior to 2.4.0 (namely the previous one 2.3.2) are not compatible with iOS 12 anymore HOT 2
- Crash with numeric bundle indentifier HOT 1
- The .start method callback is sometimes not called HOT 5
- The callback execution thread is not consistent HOT 4
- In v2 we can no longer build out our own token request HOT 9
- Login with OTP with custom realm HOT 1
- Custom minTTL support with renew() API HOT 2
- Passwordless authentication does not accept additional parameters HOT 2
- Privacy Manfiest HOT 4
- SWIFT TASK CONTINUATION MISUSE: clearSession(federated:) leaked its continuation! HOT 2
- Auth0 does not support visionOS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auth0.swift.