ebrahimmfadae / openid-connect-app Goto Github PK
View Code? Open in Web Editor NEWSample project for implementing OIDC server with a web application and an API service.
License: MIT License
Sample project for implementing OIDC server with a web application and an API service.
License: MIT License
Some readers were confused about the way that in-memory and persistent databases implemented
First of all, thank you for your tutorial, which currently I try to understanding to how to use panva/oidc-provider trough running your code in my machine, however, i cant authenticated, since i dont know the username and the password, can you give me more explanation about this, what thing i should do to use your code?
how to change the access token and refresh token to be in jwt format instead default one?
Node.js - ^18.17.0
Docker Compose: ^2.21.0
Yarn: ^3.6.3
Hi! Thank you for always answering questions quickly.
I am currently trying to deploy an application on a remote server. And I'm having trouble with that.
The problem arises at the last stage - getting tokens when I try to send a CallBack form. And after it there is an error 500.
I think that the problem appears due to the fact that the OIDC on the server uses HTTPS. The APP uses HTTP.
Please tell me, maybe there are some ideas how to make this application work correctly on a remote server.
Here are the changed environment variables:
Public REMOTE addresses
PUBLIC_OIDC_ISSUER=testsso.site.com:443
PUBLIC_APP_URL=testsso.site.com:3005
PUBLIC_API_URL=testsso.site.com:3006
And also, an error occurs when registering a user: Internal Server Error
Another such warning appears in the logs:
oidc-provider WARNING: x-forwarded-proto header not detected for an https issuer, you must configure your ssl offloading proxy and the provider, see documentation for more details: https://github.com/panva/node-oidc-provider/tree/v7.14.3/docs/README.md#trusting-tls-offloading-proxies
P.S. I configured the NGINX server and now the transition from HTTP < - > HTTPS is working correctly. But the 500 error still appears when issuing tokens (send form on /token). And the 500 error appears when re-authorizing, when we should go to the page with CallBack
On the 'localhost', the application works without errors.
It's hard to complete the registration when we need to handle the bearer token ourselves. Currently, we can not register.
The client should not issue a token because it will need client secret. It may cause security issues.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.