GithubHelp home page GithubHelp logo

shynome / bilive-oauth2 Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 246 KB

bilibili直播间弹幕验证

Home Page: https://bilive-auth.remoon.cn

License: MIT License

Go 67.88% TypeScript 8.47% HTML 0.99% Svelte 19.19% JavaScript 1.74% Makefile 1.26% Dockerfile 0.47%

bilive-oauth2's Introduction

bilive-oauth2

bilibili 直播间弹幕验证, 这是一个 oauth2 server

使用/用途

  • 第三方应用发起 OAuth2 登录请求
  • 进入到 BiliveAuth 网站进行验证
    • BiliveAuth 与用户网页创建一个 ws 连接
    • 用户前往指定的 Bilibili 直播间发送指定弹幕
    • BiliveAuth 收到指定弹幕后显示登录按钮
    • 用户点击登录按钮返回第三方应用
  • 第三方应用收到 OAuth Code 进行交换获取 JWT Token
  • 第三方应用使用公钥验证 JWT Token 的有效性后提供服务

作为 OAuth Server 使用

以 PocketBase 的 OpenID Connect provider 为例

name url
Auth URL https://bilive-auth.remoon.cn/
Token URL https://bilive-auth.remoon.cn/oauth/token
User API URL https://bilive-auth.remoon.cn/oauth/whoami

ps: 如果你想使用该 OAuth Server, 可手动向我申请

bilive-oauth2's People

Contributors

shynome avatar

Stargazers

Harry Wong avatar HCLonely avatar  avatar hiugo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.