This is a Next.js project bootstrapped with create-next-app
.
Running the server
npm install
npm run dev
Open http://localhost:3211 with your browser to see the result.
Authentication
This application leverages OpenConnect through Gitlab's authentication provider to authenticate the user and get a token to perform actions on their behalf.
It needs a registered gitlab application to work. Currently it's been created by @viroulea, but if needed one can create a new application with the following steps:
- go to your settings/applications: https://gitlab.inria.fr/-/user_settings/applications
- "add new application"
- pick a name
- to have both a development and a production setup, set the redirect URIs to:
http://localhost:3211
https://grid5000.gitlabpages.inria.fr/pipeline-creation-assistant
- uncheck the "confidential" checkbox since this application is a single page app
- check the
api
andopenid
scopes - save application
- configure the
.env.production
with the appropriate client id