Skip to content

A project for recording 3rd party oauth associated things

License

Notifications You must be signed in to change notification settings

tjcchen/3rd-party-oauth

Repository files navigation

3rd-party-oauth

A project for recording 3rd party OAuth associated information, with providers such as Google, Discord, Slack, Zoom, Twitter, Facebook.

Relevant Links

1、Google OAuth

Integrate Google signin into your webapp(Front-End): https://developers.google.com/identity/sign-in/web/sign-in

Authenticate with a backend server(Send ID_Token to the backend): https://developers.google.com/identity/sign-in/web/backend-auth

Create Crendentials: https://console.cloud.google.com/apis/credentials

Sign in with Google for web( new ): https://developers.google.com/identity/gsi/web/guides/overview

Migrating from old to Google Sign-in: https://developers.google.com/identity/gsi/web/guides/migration

2、Discord OAuth

Discord OAuth 2.0: https://discord.com/developers/docs/topics/oauth2

Configuration: https://discord.com/developers/applications/1096799501005639872/oauth2/general

How to config: nextauthjs/next-auth#948

3、Slack OAuth

Slack OAuth 2.0: https://api.slack.com/legacy/oauth

Create Credentials: https://api.slack.com/apps

Permission Scope: https://api.slack.com/scopes

Create a slack workspace: https://slack.com/help/articles/206845317-Create-a-Slack-workspace

Set up Https website with ngrok( Slack callback url must be https ): https://ngrok.com/

4、Zoom OAuth

Zoom OAuth 2.0: https://developers.zoom.us/docs/zoom-rooms/oauth/

OAuth Guide: https://devforum.zoom.us/t/guide-making-a-zoom-api-call-with-oauth-credentials-in-postman/64538

5、Twitter OAuth

Twitter OAuth 2.0: https://developer.twitter.com/en/docs/authentication/oauth-2-0

6、Facebook OAuth

Manually Build a Login Flow: https://developers.facebook.com/docs/facebook-login/guides/advanced/manual-flow/

7、Github OAuth

Create ClientID and secrect: https://github.com/settings/applications/new

Check secrect ID: https://github.com/settings/developers

Set up your server with ngrok

ngrok http 80                      # secure public URL for port 80 web server
ngrok http --subdomain=baz 8080    # port 8080 available at baz.ngrok.io
ngrok http foo.dev:80              # tunnel to host:port instead of localhost
ngrok http https://localhost:5001  # expose a local https server running on port 5001
ngrok tcp 22                       # tunnel arbitrary TCP traffic to port 22
ngrok tls --hostname=foo.com 443   # TLS traffic for foo.com to port 443
ngrok start foo bar baz            # start tunnels from the configuration file

Relevant Concepts

Authentication: To identify who a user is

Authorization: To get permission to access APIs on behalf of the user

License

MIT

About

A project for recording 3rd party oauth associated things

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published