Skip to content

konradst/acc

Repository files navigation

Apigee Community Client 1.0.1

WARNING

CURRENT VERSION SUPPORTS AUTHORIZATION WITH OAUTH IMPLICIT FLOW WHICH MEANS YOUR CLIENT_ID WILL BE SENT FROM SERVER TO CLIENT. FOR YOUR OWN SAFETY USE IN LOCALHOST OR INTRANET.

IF YOU REALLY NEED USING IT ON A SERVER ACCESSED FROM INTERNET, ENSURE IT'S AT LEAST HTTPS AND ALL SECURE ALL ASSETS WITH AN ADDITIONAL IDENTITY-AWARE PROXY.

(Browser applications use implicit flow this way as there is no magic way to tell browser the client_id but anyways, you have been warned).

Future versions will allow entering client_id or access token in browser without server config.

Running with Docker

docker run -e GOOGLE_GIS_CLIENT_ID="<your_oauth_client_id>" -p 4000:4000 konradst1/acc

Running with NPM

Install

npm install

Run (development server)

GOOGLE_GIS_CLIENT_ID=<your_oauth_client_id> npx nx run acc:serve

Run (production server)

npx nx run acc:build:production
GOOGLE_GIS_CLIENT_ID=<your_oauth_client_id> node dist/apps/acc/server/server.mjs

Q&A

Where to get GOOGLE_GIS_CLIENT_ID ?

Go to Google Auth Platform -> Clients and setup an OAuth client for your application.

Is there a docker image in DockerHub?

Go to konradst1/acc in DockerHub.

Development

Contributors welcome!

Building Docker images

docker build -t konradst1/acc:<version> .

debug build:

docker build --progress=plain --no-cache -t konradst1/acc:<version> .

push to registry:

docker push konradst1/acc:<version>

TODO

  • Improve UX
  • More authorization options

License

MIT

About

Apigee Community Client

Resources

License

Stars

Watchers

Forks

Packages

No packages published