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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE2MzA5MTQsIm5iZiI6MTcyMTYzMDYxNCwicGF0aCI6Ii80NDMyMTA3MC8yNjQ2MzQyMDQtYjk4MTMxOTEtM2EyOC00Y2RmLTk3MTYtMjI0Mzk1MzNkY2JiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIyVDA2NDMzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZlYjBlZGVhODRiZDllNjNlZWZhYzEzZGYwZTJiZjQ3ZWVkNmNkYjA2NDFmM2I5ZTA1NzhkYjUyNGU0MzUxZmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.D1jUU5SSRWANPjpkxSymR5LeXkzGTmLRhmLSCZ_B9GI)
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE2MzA5MTQsIm5iZiI6MTcyMTYzMDYxNCwicGF0aCI6Ii80NDMyMTA3MC8yNjQ2NDM1MzktZWM5MDU1YWQtOTRkZi00YmQ0LWEwM2YtZGQ3MDk4MWI2YzU5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIyVDA2NDMzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWExYjE2NDFkZGQwY2NhNDFiYWI1NGFmMDQ4NDljNTc4ZWY3MWY5NDA0NDAxNmIzOWJhMjNiNWU0Nzg1M2NjNjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.8BclDUj-LU6jYpE3UJp5t1Vrk728WXwKmvVqukX--HQ)
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE2MzA5MTQsIm5iZiI6MTcyMTYzMDYxNCwicGF0aCI6Ii81MDU1Nzg5LzI2NDY0OTAxMy01OGZiNzNmMS0yZmMxLTQ3ZDQtODZhNC05N2Y4YjczNGQxYzkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjJUMDY0MzM0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZmI2ZWQ0Njg3YmQ2Y2I3NTQ0NTI1N2QyNDQ1ODRiYThmMDAwZTIxMTcyY2NmNTY3MGU4OTllOTIwZjA4NjlmNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.xkI0vnQBy7r93melwzwMP3mFwxyzAUXoqVf3V-1CqhU)
from auth0.swift.
Related Issues (20)
- 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
- Missing AuthenticationError helper for Revoked tokens
- Auth0 does not support Social Logins for visionOS HOT 1
- isNetworkError does not report case where Wifi + Mobile Data is off HOT 1
- Auth0.webAuth() doesn't work during migration from iOS to VisionOS platform HOT 23
- Auth0 crashes due to swift task continuation misuse HOT 7
- Unable to install latest version. HOT 2
- Privacy manifest HOT 3
- signup func to support setting given_name and family_name HOT 2
- Auth0 podspec for iOS privacy info HOT 1
- Implementing additionalHeaderFields
- Getting "No credentials were found in the store." on production app HOT 2
- getting "No Credentails were found in the store" on production app HOT 1
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.