comparison mod_auth_oauth_external/mod_auth_oauth_external.lua @ 5438:53f34e17d590

mod_auth_oauth_external: Remove untested role mapping This ... broke things. If brought back, it would need additional validation.
author Kim Alvefur <zash@zash.se>
date Wed, 10 May 2023 13:43:59 +0200
parents 49306afbf722
children 721f79ac88d8
comparison
equal deleted inserted replaced
5437:49306afbf722 5438:53f34e17d590
75 return false, nil, nil; 75 return false, nil, nil;
76 end 76 end
77 if response.jid then 77 if response.jid then
78 self.username, self.realm, self.resource = jid.prepped_split(response.jid, true); 78 self.username, self.realm, self.resource = jid.prepped_split(response.jid, true);
79 end 79 end
80 self.role = response.role;
81 self.token_info = response; 80 self.token_info = response;
82 return true, true; 81 return true, true;
83 end 82 end
84 end 83 end
85 if validation_endpoint then 84 if validation_endpoint then