Define a dummy endpoint to return a valid CSRF token #172

Merged
bustikiller merged 2 commits from token-endpoint into main 2024-12-08 08:39:40 +00:00
2 changed files with 4 additions and 0 deletions
Showing only changes of commit 98877166dd - Show all commits

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
class TokensController < ApplicationController
skip_before_action :authenticate_user!
skip_before_action :set_tenant

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024 Manuel Bustillo
require 'swagger_helper'
RSpec.describe 'tokens', type: :request do