This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # .... | |
| # declare the usual stuff: platform, target, pods ... | |
| # .... | |
| post_install do |installer| | |
| # DISCLAIMER : THIS IS A WORKAROUND TO FIX AN OKTA LOGOUT ISSUE WHEN OKTA IS USING | |
| # A DELEGATION TO ANOTHER OKTA INSTANCE | |
| file_name = "./Pods/OktaOidc/Okta/OktaOidc/OIDAuthorizationService+EndSession.m" | |
| puts "### /!\\ OKTA LOGOUT DIRTY FIX /!\\ ###" | |
| puts "replacing matchesRedirectonURL function in #{file_name}" | |
| text = File.read(file_name) |