feat: write REST API endpoint to generate auth url

This commit is contained in:
Ali BARIN
2024-09-11 15:43:48 +00:00
committed by Faruk AYDIN
parent 2cfd6739ca
commit ace1f84094
6 changed files with 128 additions and 1 deletions

View File

@@ -101,6 +101,10 @@ const authorizationList = {
action: 'create',
subject: 'Connection',
},
'POST /api/v1/connections/:connectionId/auth-url': {
action: 'create',
subject: 'Connection',
},
};
export const authorizeUser = async (request, response, next) => {