feature/implementacion de hub en EFC
This commit is contained in:
@@ -32,11 +32,14 @@ urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('api/v1/', include('api.licence.urls')),
|
||||
|
||||
# JWT Authentication
|
||||
# JWT Authentication (legacy — mantener durante transición)
|
||||
path('api/v1/token/', TokenObtainPairView.as_view(), name='token_obtain_pair'),
|
||||
path('api/v1/token/refresh/', TokenRefreshView.as_view(), name='token_refresh'),
|
||||
path('api/v1/user/', include(('api.cuser.urls', 'cuser'), namespace='cuser')), # Custom user app
|
||||
|
||||
# Hub SSO
|
||||
path('api/v1/auth/', include('api.cuser.sso_urls')),
|
||||
|
||||
#path('api-auth/', include('rest_framework.urls')),
|
||||
path('api/v1/swagger/', schema_view.with_ui('swagger', cache_timeout=0), name='schema-swagger-ui'),
|
||||
path('api/v1/redoc/', schema_view.with_ui('redoc', cache_timeout=0), name='schema-redoc'),
|
||||
|
||||
Reference in New Issue
Block a user