-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update invite handling (wip), update docs (#1367)
- Loading branch information
Showing
11 changed files
with
97 additions
and
45 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
{# Place custom OpenIDC login link and/or info into this template #} | ||
|
||
<div class="col-md-4 mx-auto mt-4"> | ||
<a role="button" class="btn btn-md btn-info btn-block" | ||
id="sodar-login-oidc-link" | ||
href="{% url 'social:begin' 'oidc' %}"> | ||
<i class="iconify" data-icon="mdi:login-variant"></i> OpenID Connect Login | ||
</a> | ||
</div> | ||
<a role="button" class="btn btn-md btn-success btn-block" | ||
id="sodar-login-oidc-link" | ||
href="{% url 'social:begin' 'oidc' %}?next={{ oidc_redirect_url|default:'/' }}"> | ||
<i class="iconify" data-icon="mdi:login-variant"></i> OpenID Connect Login | ||
</a> |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
{# Default OIDC login element shown if no custom template is provided #} | ||
{# Display custom or default OIDC login element #} | ||
{% load projectroles_common_tags %} | ||
|
||
<div class="col-md-4 mx-auto mt-4"> | ||
{% template_exists template_include_path|add:'/_login_oidc.html' as tpl_oidc %} | ||
|
||
{% if tpl_oidc %} | ||
{% include template_include_path|add:'/_login_oidc.html' %} | ||
{% else %} | ||
<a role="button" class="btn btn-md btn-info btn-block" | ||
id="sodar-login-oidc-link" | ||
href="{% url 'social:begin' 'oidc' %}"> | ||
href="{% url 'social:begin' 'oidc' %}?next={{ oidc_redirect_url|default:'/' }}"> | ||
<i class="iconify" data-icon="mdi:login-variant"></i> OpenID Connect Login | ||
</a> | ||
</div> | ||
{% endif %} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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