Cupcake
Microsoft auth
https://github.com/AzureAD/microsoft-authentication-library-for-go Before using MSAL Go, you will need to register your application with the Microsoft identity platform.
Criar app
criar url de redirecionamento aplicativo "WEB" http://localhost:3000/auth-response
criar credenciais de cliente
atualizar .env
AUTHORITY=https://login.microsoftonline.com/SOME_DIRECTORY_ID
CLIENT_ID=SOME_ID
CLIENT_SECRET=SOME_SECRET
REDIRECT=http://localhost:3000/auth-response
Setup backend development env
Executar o comando abaixo na pasta raiz do projeto (a mesma do README)
make
Pode levar entre 10 - 20 segundos para que o build esteja completo