mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[GH-ISSUE #698] OAuthSwift authorize : States not equal in response. #451
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#451
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kshrikant on GitHub (May 13, 2022).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/698
I am using authorize call from OAuthSwift i.e.
For the first time when I logged in application I am not encountering above condition i.e. states are receiving same (success scenario) but It seems when logged out the application and and tries to re login at that time its coming inside
failure?(OAuthSwiftError.stateNotEqual(state: state, responseState: responseState))What are the reasons for receiving different states in response ? So I can recheck into my codebase. @phimage @dongri @phatblat @fabiomassimo
Note - This is happening with webview login. Also I cleared all cookies and webview caches on logout.
@kshrikant commented on GitHub (May 18, 2022):
Due to calling hierarchy in my application the state was setting twice from my end due to that it encountered this issue.