<commit_before><!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:f="http://xmlns.jcp.org/jsf/core"
                xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
                xmlns:h="http://xmlns.jcp.org/jsf/html"
                template="/WEB-INF/incl/layout/template.xhtml">
  
    <ui:define name="head">
        <script src="#{oxAuthConfigurationService.jsLocation}/jquery-1.12.4.min.js"></script>

        <style type="text/css">
            .login-panel {
                border-style: solid;
                border-width: 1px;
                padding: 1px;
                background-color: #FFFFFF;
                border-color: #C4C0B9;
            }

            .login-panel-header {
                background-color: #D4CFC7;
                background-image: url("#{oxAuthConfigurationService.getImgLocation()}/panel_header_bg.png");
                background-position: left top;
                background-repeat: repeat-x;
                border-style: solid;
                border-width: 1px;
                padding: 2px;
                border-color: #D4CFC7;
                color: #000000;
                font-family: Arial, Verdana, sans-serif;
                font-size: 11px;
                font-weight: bold;
            }

            .login-panel-body {
                padding: 10px;
                color: #000000;
                font-family: Arial, Verdana, sans-serif;
                font-size: 11px;
            }
        </style>
        <script type="text/javascript">
            jQuery(document).ready(function () {
                var user = window.location.href.split("=");
                history.replaceState({}, 'oxAuth-Login', '/oxauth/auth/passport/passport-post-login');
                var userQueryString = decodeURIComponent(user[1]);
                var userObj
                try{
                    userObj = JSON.parse(userQueryString.substring(0, userQueryString.indexOf('}') + 1));
                }
                catch(err){
                    userObj = JSON.parse(userQueryString);
                }
                document.getElementById('loginForm')["loginForm:userid"].value = userObj.id;
                document.getElementById('loginForm')["loginForm:displayname"].value = userObj.name;
                document.getElementById('loginForm')["loginForm:username"].value = userObj.username;
                document.getElementById('loginForm')["loginForm:token"].value = userObj.accessToken;
                document.getElementById('loginForm')["loginForm:provider"].value = userObj.provider;
                document.getElementById('loginForm')["loginForm:givenname"].value = userObj.givenName;
                document.getElementById('loginForm')["loginForm:familyname"].value = userObj.familyName;
                document.getElementById('loginForm')["loginForm:name"].value = userObj.name;
                if (userObj.email) {
                    document.getElementById('loginForm')["loginForm:email"].value = userObj.email;
                    document.getElementById('loginForm')["loginForm:postForm"].click();
                }
            });
        </script>
    </ui:define>

    <ui:define name="pageTitle">#{msgs['passport.pageTitle']}</ui:define><commit_msg>Final commit for passportportlogin page externalId Issue(provider)<commit_after><!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:f="http://xmlns.jcp.org/jsf/core"
                xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
                xmlns:h="http://xmlns.jcp.org/jsf/html"
                template="/WEB-INF/incl/layout/template.xhtml">
  
    <ui:define name="head">
        <script src="#{oxAuthConfigurationService.jsLocation}/jquery-1.12.4.min.js"></script>

        <style type="text/css">
            .login-panel {
                border-style: solid;
                border-width: 1px;
                padding: 1px;
                background-color: #FFFFFF;
                border-color: #C4C0B9;
            }

            .login-panel-header {
                background-color: #D4CFC7;
                background-image: url("#{oxAuthConfigurationService.getImgLocation()}/panel_header_bg.png");
                background-position: left top;
                background-repeat: repeat-x;
                border-style: solid;
                border-width: 1px;
                padding: 2px;
                border-color: #D4CFC7;
                color: #000000;
                font-family: Arial, Verdana, sans-serif;
                font-size: 11px;
                font-weight: bold;
            }

            .login-panel-body {
                padding: 10px;
                color: #000000;
                font-family: Arial, Verdana, sans-serif;
                font-size: 11px;
            }
        </style>
        <script type="text/javascript">
            jQuery(document).ready(function () {
                var user = window.location.href.split("=");
                history.replaceState({}, 'oxAuth-Login', '/oxauth/auth/passport/passport-post-login');
                var userQueryString = decodeURIComponent(user[1]);
                var userObj
                try{
                    userObj = JSON.parse(userQueryString.substring(0, userQueryString.indexOf('}') + 1));
                    document.getElementById('loginForm')["loginForm:provider"].value = userObj.provider;
                }
                catch(err){
                    userObj = JSON.parse(userQueryString);
                    document.getElementById('loginForm')["loginForm:provider"].value = userObj.provider['_'];
                }
                document.getElementById('loginForm')["loginForm:userid"].value = userObj.id;
                document.getElementById('loginForm')["loginForm:displayname"].value = userObj.name;
                document.getElementById('loginForm')["loginForm:username"].value = userObj.username;
                document.getElementById('loginForm')["loginForm:token"].value = userObj.accessToken;
                document.getElementById('loginForm')["loginForm:givenname"].value = userObj.givenName;
                document.getElementById('loginForm')["loginForm:familyname"].value = userObj.familyName;
                document.getElementById('loginForm')["loginForm:name"].value = userObj.name;
                if (userObj.email) {
                    document.getElementById('loginForm')["loginForm:email"].value = userObj.email;
                    document.getElementById('loginForm')["loginForm:postForm"].click();
                }
            });
        </script>
    </ui:define>

    <ui:define name="pageTitle">#{msgs['passport.pageTitle']}</ui:define>
{'fraction_non_alphanumeric': 0.13526293165209916, 'fraction_numerical': 0.013468978363662416, 'mean_word_length': 1.8316430020283976, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 14}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5561566', 'n_tokens_mistral': 2018, 'n_tokens_neox': 1832, 'n_words': 243}