Home
News
Forum
Wiki
Blog
Contents
Gallery
Movies
Downloads
About NSL
If you want to see English page, please click "English" Button at Left.
[
タイトル一覧
|
ページ一覧
|
新規
|
単語検索
|
最終更新
|
ヘルプ
]
LTI
をテンプレートにして作成
[
トップ
]
[ ]
開始行:
* LTI (Learning Tools Interoperability)
- IMS グローバル ラーニング コンソーシアムが開発している ...
#br
** jupyterhub-ltiauthenticator (Moodle - JupyterHub)
- https://pypi.org/project/jupyterhub-ltiauthenticator/
- 各種LMS - [[JupyterHub]] 接続
- LMS([[Moodle]]) が TC(Tool Consumer),JupyterHub が...
- see also. [[Moodle+JupyterHub]]
#br
*** v1.5.0
- https://pypi.org/project/jupyterhub-ltiauthenticator/1....
#br
*** v1.3.0
- pip install jupyterhub-ltiauthenticator==1.3.0
- https://pypi.org/project/jupyterhub-ltiauthenticator/1....
#br
*** v1.2.0
- Moodle については Patch 不要
(jupyterhub)# pip install jupyterhub-ltiauthenticator==1...
#br
**** jupyterhub_config.py
# for LTI v1.2.0
c.JupyterHub.authenticator_class = 'ltiauthenticator.LTI...
c.LTI11Authenticator.consumers = {
"b18e82ec683724743236fade71350720029a29144a585c66f674...
}
c.LTI11Authenticator.username_key = 'ext_user_username'
#br
*** Moodle 側
- 管理者‘IDで,「サイト管理」=> 「プラグイン」=> 「外部ツ...
-- デフォルト起動コンテナは「新しいウィンドウ」にする.
#br
- 埋め込み表示に設定した場合,chrome, edge では cookieが...
-- SameSite=Lax であるため,iframe 使用時は Moodleのホス...
-- JupyterHub のソースコードを散々引っ掻き回して,ようや...
- [[Hack>Moodle/Moodle-LTI]]
#br
*** etc
**** error : module 'oauthlib.oauth1.rfc5849.signature' h...
- ライブラリが足りない
-- conda install oauthlib
#br
**** 欠点:利点?
- %%一度 Moodle 経由でログインすると,ブラウザがアカウン...
- その他の一般ユーザ認証と併用できない.
#br
*** OLD: v1.0.0
***** Learning Tools Interoperability
- https://github.com/jupyterhub/ltiauthenticator
- 既にインストールされている ltiauthenticator だと Moodle...
-- "Moodleと Jupyter Notebookの 連携 によるプログラミング...
--- /usr/local/anaconda/envs/jupyterhub/lib/python3.8/sit...
152 # Before we return lti_user_id, check to...
153 # If so, this indicates two things:
154 # 1. The request was sent from Canvas, n...
155 # 2. The request was sent from a Canvas ...
156 # If this is the case we want to use the...
157 # If Canvas is running in anonymous mode...
158
159 canvas_id = handler.get_body_argument('c...
160 + product_code = handler.get_body_argument...
161
162 if canvas_id is not None:
163 user_id = handler.get_body_argument(...
164 + elif 'moodle' in product_code:
165 + user_id = handler.get_body_argument...
166 else:
167 user_id = handler.get_body_argument(...
168
***** jupyterhub_config.py
c.JupyterHub.authenticator_class = 'ltiauthenticator.LTI...
c.LTIAuthenticator.consumers = {
"b18e82ec683724743236fade71350720029a29144a585c66f6...
}
- キーは二つとも openssl rand -hex 32 で生成.
-- openssl rand -hex 32
#br
終了行:
* LTI (Learning Tools Interoperability)
- IMS グローバル ラーニング コンソーシアムが開発している ...
#br
** jupyterhub-ltiauthenticator (Moodle - JupyterHub)
- https://pypi.org/project/jupyterhub-ltiauthenticator/
- 各種LMS - [[JupyterHub]] 接続
- LMS([[Moodle]]) が TC(Tool Consumer),JupyterHub が...
- see also. [[Moodle+JupyterHub]]
#br
*** v1.5.0
- https://pypi.org/project/jupyterhub-ltiauthenticator/1....
#br
*** v1.3.0
- pip install jupyterhub-ltiauthenticator==1.3.0
- https://pypi.org/project/jupyterhub-ltiauthenticator/1....
#br
*** v1.2.0
- Moodle については Patch 不要
(jupyterhub)# pip install jupyterhub-ltiauthenticator==1...
#br
**** jupyterhub_config.py
# for LTI v1.2.0
c.JupyterHub.authenticator_class = 'ltiauthenticator.LTI...
c.LTI11Authenticator.consumers = {
"b18e82ec683724743236fade71350720029a29144a585c66f674...
}
c.LTI11Authenticator.username_key = 'ext_user_username'
#br
*** Moodle 側
- 管理者‘IDで,「サイト管理」=> 「プラグイン」=> 「外部ツ...
-- デフォルト起動コンテナは「新しいウィンドウ」にする.
#br
- 埋め込み表示に設定した場合,chrome, edge では cookieが...
-- SameSite=Lax であるため,iframe 使用時は Moodleのホス...
-- JupyterHub のソースコードを散々引っ掻き回して,ようや...
- [[Hack>Moodle/Moodle-LTI]]
#br
*** etc
**** error : module 'oauthlib.oauth1.rfc5849.signature' h...
- ライブラリが足りない
-- conda install oauthlib
#br
**** 欠点:利点?
- %%一度 Moodle 経由でログインすると,ブラウザがアカウン...
- その他の一般ユーザ認証と併用できない.
#br
*** OLD: v1.0.0
***** Learning Tools Interoperability
- https://github.com/jupyterhub/ltiauthenticator
- 既にインストールされている ltiauthenticator だと Moodle...
-- "Moodleと Jupyter Notebookの 連携 によるプログラミング...
--- /usr/local/anaconda/envs/jupyterhub/lib/python3.8/sit...
152 # Before we return lti_user_id, check to...
153 # If so, this indicates two things:
154 # 1. The request was sent from Canvas, n...
155 # 2. The request was sent from a Canvas ...
156 # If this is the case we want to use the...
157 # If Canvas is running in anonymous mode...
158
159 canvas_id = handler.get_body_argument('c...
160 + product_code = handler.get_body_argument...
161
162 if canvas_id is not None:
163 user_id = handler.get_body_argument(...
164 + elif 'moodle' in product_code:
165 + user_id = handler.get_body_argument...
166 else:
167 user_id = handler.get_body_argument(...
168
***** jupyterhub_config.py
c.JupyterHub.authenticator_class = 'ltiauthenticator.LTI...
c.LTIAuthenticator.consumers = {
"b18e82ec683724743236fade71350720029a29144a585c66f6...
}
- キーは二つとも openssl rand -hex 32 で生成.
-- openssl rand -hex 32
#br
ページ名:
サイト内 検索
高度な検索
ログイン
ユーザー名:
パスワード:
パスワード紛失
新規登録
サブ メニュー
新着情報
Books
リンク
サイトマップ
e-Learning
TUIS 認証局証明書
ミニカレンダー
2025年 3月
日
月
火
水
木
金
土
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<今日>
オンライン状況
46 人のユーザが現在オンラインです。 (1 人のユーザが xpwiki を参照しています。)
登録ユーザ: 0
ゲスト: 46
もっと...
アクセスカウンタ
今日 :
昨日 :
総計 :
Powered by XOOPS Cube 2.1© 2001-2006
XOOPS Cube Project
Design by
XoopsDesign.com