Skip to content

Commit

Permalink
Add keycloak auth override in example for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
u8sand committed Apr 6, 2022
1 parent b8c017b commit b3ae3c9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions example/templates/base.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{% extends "biojupies/base.j2" %}

{% block script_head %}
{{ super() }}
<script>
Object.assign(window._config, {
keycloak: {
params: {
url: 'https://keycloak.maayanlab.cloud/auth',
realm: 'appyters',
clientId: 'appyter-catalog',
},
init: {
onLoad: 'check-sso',
silentCheckSsoRedirectUri: `${window.location.origin}/silent-check-sso.html`,
},
},
})
</script>
{% endblock %}

0 comments on commit b3ae3c9

Please sign in to comment.