https://github.com/totem-gdn/account-gateway
Account Gateway for User Login and Obtaining the List of Assets
https://github.com/totem-gdn/account-gateway
Last synced: 3 months ago
JSON representation
Account Gateway for User Login and Obtaining the List of Assets
- Host: GitHub
- URL: https://github.com/totem-gdn/account-gateway
- Owner: Totem-gdn
- License: mit
- Created: 2022-05-13T13:50:34.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-12T08:52:46.000Z (almost 3 years ago)
- Last Synced: 2024-12-29T14:41:43.165Z (5 months ago)
- Language: TypeScript
- Size: 785 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# account-gateway
Account Gateway for User Login and Obtaining the List of Assets## Auth providers
Next providers can be used for the authorization:
- `/auth/google`
- `/auth/facebook`
- `/auth/twitter`
- `/auth/steam`
- `/auth/itch-io`Providers can be activated separately with `AUTH_PROVIDERS` environment variable
### Auth request
Configurations for the providers can be found in `documentation` directory.
#### Request:
Path: `/auth/${provider}`
Query params:
- _(optional)_ `redirectTo` - the URI to be used for the result redirect callback
#### Redirect callback:
Path: `/auth/${provider}/redirect`