Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ndlano/nodebb-plugin-session-sharing-feide
Allows login sessions from your app to persist in NodeBB
https://github.com/ndlano/nodebb-plugin-session-sharing-feide
Last synced: about 2 months ago
JSON representation
Allows login sessions from your app to persist in NodeBB
- Host: GitHub
- URL: https://github.com/ndlano/nodebb-plugin-session-sharing-feide
- Owner: NDLANO
- License: mit
- Created: 2023-06-22T06:29:31.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-19T09:52:16.000Z (4 months ago)
- Last Synced: 2024-11-07T11:47:32.522Z (about 2 months ago)
- Language: JavaScript
- Size: 669 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Feide Session Sharing for NodeBB
This plugin handles authentication for nodebb based on a bearer token from Feide authentication. It is a fork based
on the [Session-sharing-plugin](https://github.com/julianlam/nodebb-plugin-session-sharing).## How does this work?
This plugin works on API calls and checks the request header for a feideauthentication header. It then checks the Bearer token against the dataporten api for information about the user. This includes both checks for user information, and education affiliation. It then connects the Feide user with a nodebb account and performs the action as this account. If the Feide-user does not have an account it creates a user based on the information gathered from the feide-account, then performs the action with the newly created nodebb account.