config/initializers/omniauth.rb in wordjelly-auth-1.3.0 vs config/initializers/omniauth.rb in wordjelly-auth-1.3.1
- old
+ new
@@ -471,15 +471,17 @@
def find_record_from_identifier(entity)
## you are supposed to find the record using one of the other parameters.
#puts "came to find entity from identifier -----------------------------------"
additional_identifiers = entity.get_additional_identifiers_from_headers(self)
+ #puts "additional_identifiers"
+ #puts additional_identifiers
app_id_value = additional_identifiers["X-User-Aid"]
user_es_value = additional_identifiers["X-User-Es"]
token = entity.get_token_from_params_or_headers(self)
-
+ #puts "token:#{token}"
if token
## fails if the app id or user es is nil blank or empty
#puts "returning nil"