Skip to content

Commit e2a4629

Browse files
committed
[SDK-165]: Changed example projects' callback URLs to be /yoti/auth, so we are consistent with the instructions for integrating with Django/Flask projects
1 parent 10e9f99 commit e2a4629

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/yoti_example_django/yoti_example/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020

2121
urlpatterns = [
2222
url(r'^$', IndexView.as_view(), name='index'),
23-
url(r'^auth/$', AuthView.as_view(), name='auth'),
23+
url(r'^yoti/auth/$', AuthView.as_view(), name='auth'),
2424
url(r'^admin/', admin.site.urls),
2525
]

examples/yoti_example_flask/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def index():
2929
return render_template('index.html', app_id=YOTI_APPLICATION_ID)
3030

3131

32-
@app.route('/auth')
32+
@app.route('/yoti/auth')
3333
def auth():
3434
client = Client(YOTI_CLIENT_SDK_ID, YOTI_FULL_KEY_FILE_PATH)
3535
activity_details = client.get_activity_details(request.args['token'])

plugins/django_yoti/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ urlpatterns = [
154154

155155
### Yoti application configuration ###
156156

157-
Your Yoti application's callback URL should point to `your_site.com/auth`.
157+
Your Yoti application's callback URL should point to `your_site.com/yoti/auth`.
158158

159159
## Using plugin ##
160160

0 commit comments

Comments
 (0)