<commit_before>{% extends "layout.html" %}

{% block body %}
<div class="row">
    <div class="col-xs-12 col-md-3 col-sm-4 col-sm-offset-4 col-md-offset-4 col-lg-3 col-lg-offset-4">
    <b>To use the IdP you must have a user's endpoint running, and a RP. For testing purpose use this RP from <a href="https://github.com/moullos/UnlimitID/tree/master/tests/compatibility/Flask-OAuthlib">here</a>. </b><br>
    Then: <br>
    1. Register a valid user <br>
    2. Use the user's endpoint to authorize the anonymous tranfer of user's attributes to the RP. <br>
    If you are running the User and the RP on the same machine make sure they do not share cookies.
    <p><a href="{{ url_for('signup') }}" class="btn btn-info" role="button">Register a User</a></p>
    <a href="{{ url_for('client_signup') }}" class="btn btn-info" role="button">Register a RP</a>
	</div>
</div>

{% endblock %}
<commit_msg>More instructions<commit_after>{% extends "layout.html" %}

{% block body %}
<div class="row">
    <div class="col-xs-12 col-md-3 col-sm-4 col-sm-offset-4 col-md-offset-4 col-lg-3 col-lg-offset-4">
    <b>To use the IdP you must have a user's endpoint running, and a RP. For testing purposes use this RP from <a href="https://github.com/moullos/UnlimitID/tree/master/tests/compatibility/Flask-OAuthlib">here</a>. It is ready to use and already registered. If you are running the User and the RP on the same machine make sure they do not share cookies.</b><br>
    Then: <br>
    1. Register a valid user <br>
    2. Use the user's endpoint to get a credential and extract an RP-specific "show" file. The name of the RP is 'dev' in this case  <br>
    3. Initiate an authorization flow by visiting the RP
    4. Upload the show file and get the access token. 
    5. Revisiting the RP will automatically redeem the token for user info
    
    <p><a href="{{ url_for('signup') }}" class="btn btn-info" role="button">Register a User</a></p>
    <a href="{{ url_for('client_signup') }}" class="btn btn-info" role="button">Register a RP</a>
	</div>
</div>

{% endblock %}

{'fraction_non_alphanumeric': 0.14569215876089062, 'fraction_numerical': 0.011132623426911906, 'mean_word_length': 3.6138392857142856, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '3201552', 'n_tokens_mistral': 713, 'n_tokens_neox': 677, 'n_words': 254}